Generics in C#

Generics is a very important topic in the C# programming language. As far as I know, it would be hard to find any modern software written in C# that doesn't use generics.  

The topics we will cover in this chapter are as follows:

  • What are Generics?
  • Why do we need Generics?
  • Different constraints of Generics
  • Generic methods
  • Covariance and Contravariance in Generics
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.159.1