C# – Converting IL to C# code

.netc++

I need to convert the IL to c# code.
I have an assembly and I am reading this assembly.
I get MethodBody from MethodInfo and the methodbody has a method GetILAsByteArraY()
which returns a byte array now I want to convert this IL to C# code.
Please help me out in solving this.

Best Solution

Don't reinvent the wheel; use Lutz Roeder's .NET Reflector.