Compilation scheme of generics
how generic types work in c#? Any link from where I could read detailed explanation of the same will be useful. Basically I need to learn about compilation scheme and role of JIT compiler. I know upper crux of Generics and their benefits but I want to know how they are handled by com开发者_高级运维piler in comparison to other System.Collection namespace classes.
MSDN, An Introduction to C# Generics - What Are Generics
When you want to use the same code for different types at that point we prefer to use Generics.You can refer this link to know exactly how generics are processed and excuted. Compilation of Generics
精彩评论