Recent posts

Random Number Generator

1 minute read

.Net has a very useful class called “Random” which generates a random number between a range. You can read about the Random class here.

Singleton vs Static Class in C#

1 minute read

Singleton pattern is the first pattern one would learn in the GOF patterns. It simply states that only one instance of the class should be created and no mor...

Adapter Pattern

2 minute read

As the name itself suggests “Adapter” pattern allows an interface to ‘adapt’ to another interface. Similar to the universal adapter we all carry when we go o...