The generics feature in C# has been introduced with version 2.0 of the .NET Framework and these arejust like templates in C++. Using generics we can
create classes,methods, events, delegates which work with any type (like int, string, myclass etc). The Advantages with Generics are Performance will
increase, Code Reusability and Type Safety.
Asked In: Many Interviews |