Converting IL to C# with no syntactic sugar
问题 I'm looking for a program that will show me the lowest level (ie. no syntactic sugar) C# code given IL code. I tried using .NET Reflector to view a .exe file that contained a simple console app with a foreach loop, hoping to see GetEnumerator() , MoveNext() , Current etc, however it showed it as a foreach loop. Does such a program exist? Or is it possible to select "no syntactic sugar" in .NET Reflector? 回答1: Current versions of ILSpy have a sizable set of options for enabling/disabling