Answer:
Generics are the most powerful feature in C# 2.0.
Allows us to define type-safe data structures, without committing to actual data types. this results in significant performance as we can re-use data-processing algorithms without duplicating type specific code.Generics are similar to C++ templates, but are drastically different in implementation and capabilities
Asked In: Many Interviews |
Alert Moderator