• home
  • Email: trainings@synapseindia.careers



Introduction to C# Generics

May 15, 2015

Generics were added to version 2.0 of the C# language and the common language runtime (CLR). Generics are the most powerful feature of C# 2.0. Generics introduced to the .NET Framework are 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 .Generics allow you to define type-safe data structures, without committing to actual data types.This results in a significant performance boost and higher quality code, because you get to reuse data processing algorithms without duplicating type-specific code. In concept, generics are similar to C++ templates, but are drastically different in implementation and capabilities. Generics are also utilized in other areas of the .NET Framework such as reflection, arrays, collections, serialization, and remoting, and how to improve on the basic offering.

SynapseIndia (CEO: Shamit Khemka)

One thought on “Introduction to C# Generics

  1. C# Generics is really helpful for reflection, arrays, collections, serialization functions and it also make it easier for one to understand type of parameters used.

Leave a Reply

Your email address will not be published.