Code Yarns ‍👨‍💻
Tech BlogPersonal Blog


📅 2012-Jan-30 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ .net, decompiler, ilspy ⬩ 📚 Archive

[caption id="attachment_2227" align="aligncenter" width="591"][ ]( ILSpy displaying the implementation of the System.Int32.GetHashCode() method[/caption]

Programming in C# or any other .Net language is unimaginable without its accompanying .Net framework of classes and libraries. A lot of times you might wonder how a certain class or method is actually implemented in the .Net framework. ILSpy is a great tool that can be used to see how any class or method in the .Net framework or any other .Net assembly is implemented. It does this by decompiling or disassembling the IL code in the .Net assembly to the more readable C# code.

When you open ILSpy, by default it already displays the decompiled or disassembled code of all the core .Net classes. If you want to decompile or disassemble any other .Net assembly file (.exe or .dll), use File → Open to add it too.

Tried with: ILSpy