Register now or log in to join your professional community.
Generics refers to writing the code for a class without specifying the data type that the class works on.
You specify the data type when you declare an instance of a generic class.
Example : are the many collection classes in .NET. Each collection class has it's own implementation of how the collection is created and managed.