Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par mohd ikram , Software Engineer , VSK IT Services Pvt. Ltd.
Date de publication: 2016/08/04
Ahmed Ibrahim Rihan
par 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