1.11. Exploring an Assembly Using Reflector

While using ildasm.exe is a very common task when you wish to dig into the guts of a .NET assembly, the one gotcha is that you are only able to view the underlying CIL code, rather than looking at an assembly's implementation using your managed language of choice. Thankfully, many .NET object browsers and decompilers are available for download, including the very popular Reflector.

This free tool can be downloaded from http://www.red-gate.com/products/reflector. Once you have unzipped the archive, you are able to run the tool and plug in any assembly you wish using the File | Open menu option. Figure 1-11 shows our Calc.exe application once again.

Figure 1.11. Reflector is a very popular object browsing ...

Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition 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.