Hello everyone,


In C++ template, the type parameter will be deduced when we use it, and compiler will generate the speicifc version of template function/class -- called instantiation.

In C#, it is also compiler will do the instantiation at compile time other than runtime? For example, if we use int and string for List, then two versions of List class, List and List will be generated in IL -- which will make IL bigger? :-)


thanks in advance,
George