2

How does .NET runtime handle Generic code?

Are there special constructs in MSIL which enable Generic support?

Can it be found out using ILDASM or Reflection? If Yes, How?

Undo
  • 25,519
  • 37
  • 106
  • 129
Rohit Vipin Mathews
  • 11,629
  • 15
  • 57
  • 112
  • Waiting for someone to answer the last part of the question – Rohit Vipin Mathews Mar 19 '12 at 05:56
  • Sorry for late reply.....Yeah, you can use ILDASM but I prefer to use the Visual Studion functionality itself i.e. You can have diassembled code using "Go to Diassembly" option in right click while debugging...... –  Mar 19 '12 at 06:03
  • @akash88 "go to disassembly" shows native code, not IL. – phoog Mar 19 '12 at 18:04

1 Answers1

2

You may be interested in reading this paper: Design and Implementation of Generics for the .NET Common Language Runtime (pdf)

anthony
  • 40,424
  • 5
  • 55
  • 128