What is Generics in C# Programming Language?
Generics allow us to create type safe collections with no boxing and un-boxing overhead. It is a concept that allows us to achieve parametric polymorphism. C# is a strongly typed language, i.e., objects in C# should have a type to holding any value. This enforces language interoperability and security but restricts the programmer to specify the …