Generic (Generic) - Delayed thought

 Rumor: that generics are syntactic sugar is not the answer

      Syntactic sugar means there are projections for the compilers and compiler out mainly as the result of a class of pain Var called syntactic sugar

     Generic <T> is a delay of thinking is not considered syntactic sugar generics in .NET Framework2.0 from among simple terms is a kind of generic placeholder

 

 

 

 Use IL decompile translated file

 

 The above generic class 1 indicates a generic ', 2', 3 ', 4' which are represented by two three, four, and the numbers represent the number of

 

Guess you like

Origin www.cnblogs.com/YZM97/p/11712966.html