Demystifying Generics in C#

Generics is a great concept in programming languages that was added to .Net 2.0 , it introduces the parameter T to types and methods. Generics improve code reusability, enforces type safety and prevents performance overhead of boxing/unboxing. Continue reading Demystifying Generics in C#

Advertisements

The Difference Between String and StringBuilder in C#

In this article, I will be explaining the difference between using String and StringBuilder when dealing with your string values. and in which cases you should never use String. and other cases where StringBuilder is not the optimal solution. Continue reading The Difference Between String and StringBuilder in C#