2
Reply

What is generics in C#?? What is the use of it ??

sathish

sathish

Aug 07, 2010
4.9k
0

    Generics allow you to delay the specification of the data type of programming elements in a class or a method, until it is actually used in the program. In other words, generics allow you to write a class or method that can work with any data type.

    Keerthi Venkatesan
    April 22, 2016
    0

    Generics are a new feature in version 2.0 of the C# language and the common language runtime (CLR). Generics introduce to the .NET Framework the concept of type parameters, which make it possible to design classes and methods that defer the specification of one or more types until the class or method is declared and instantiated by client code.

    Mallika
    August 20, 2010
    0