Demystifying C# Generics


Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Generics are great abstraction and extensiblity feature that provides the benefit of code reuse, type-safety and performance gain. You just need to know where you should use it and the places where you can refactor your code to make use of generics.

I hope that I was able to demystify the important topic in C# for you, I tried to cover most aspects of generics in C#, there might be other details regarding each section I discussed above, just let me know if you have any question or comment , or if you are having any issue using generics in your application.

Article has been ported from

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content