Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is generics in c#? Please explan with example..

user-image
Question added by mohd ikram , Software Engineer , VSK IT Services Pvt. Ltd.
Date Posted: 2016/08/04
Ahmed Ibrahim Rihan
by Ahmed Ibrahim Rihan , Software Development Supervisor , Orange - Egypt

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. 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.