Patrick's Blog

HomeBadges

Smashing game in a browser!?!

Apr 2, 2021

One of my most recent projects was to create a "Click smashing" type game on Html using CSS and JavaScript. Ran into some issues with my attempt to use LessCss in order to create the animated border you see around the navigation bar and game. I found...

What is Static/Dynamic Polymorphism in C#?

Mar 31, 2021

Static Polymorphism in C# is what allows you to bind multiple methods or operators, in essence you can create multiple methods or operators using the Overloaded keyword with the same name to handle or process different types of arguments uniquely. vo...

The base keyword with inheritance. (C#, .NET Framework)

Mar 31, 2021

Using the keyword "base" allows us to access members of the base class from within a derived class (child class). For example, if we've created a constructor in the parent class and want our child class to inherit its properties. Parent: publ...

The "virtual" keyword in C#

Mar 30, 2021

Using the "virtual" modifier with a method in a parent class allows you to override the method in a child class in order to give it a different function within the child class, it can also be used for indexers and event declarations. A good example o...

What is Inheritance?

Mar 26, 2021

What comes to mind when YOU hear the word Inheritance? The concept of inheritance could also be applied to real life aspects, for example: Money, Genetics, Culture Inheritance etc.. Inheritance is what gives a class the ability to extend itself to a ...

Unit Testing C# Library (.NET Framework) --- Fraction Example ---

Mar 24, 2021

Testing code: https://github.com/Kealiwyn/TheFractionClassUnitTesting When starting a C# library project you have to make sure you've chosen the Class Library (.NET Framework) as well as making sure that you do NOT place the solution and project in ...

© 2021 Patrick's Blog

PrivacyTerms
Proudly part of