Control Internals

The .NET SDK ships with the tool ILDASM (IL Disassembler). ILis the Intermediate Language to which all .NET languages are compiled. By now, most of you are probably familiar with this tool. ILDASM displays the contents of a managed assembly, including the manifest, value types, interfaces, classes, enums, and delegates. In addition, ILDASM displays the IL code for all class methods and properties. This IL code is fairly readable and can be translated into C# with little effort. Producing the exact original C# code should not be expected because IL is not a one-to-one mapping tool as far as code is concerned.

Examples are often the best way to learn a new task, and with ILDASM you essentially have a huge set of examples just ...

Get .NET Windows® Forms Custom Controls now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.