MindFill - Brian Carroll's Blog

Do While (WhatYouKnow) < (WhatYouKnow + 1)

Reading poorly formatted .NET code - made easy!

I downloaded a .NET app the other day and wondered how the author was accomplishing one piece of it.  He had made the source code available for download, so I downloaded it and started digging in.  But it didn't take me long to realize the the author had no style whatsoever - the code was a mess!

While I was reformatting the code to make it readable, I had a thought - it might be faster to use Lutz Roeder's .NET Reflector to disassemble the exe and then read the generated code.  I tried it and within a few minutes I had found what I was looking for.

What an awesome tool!

Posted: Nov 29 2004, 08:44 PM by bkcarroll | with 8 comment(s)
Filed under:

Comments

Eric Maino said:

It's also nice if you open the source code up and remove then replace the last } in the file. It will auto format for you at this point in time. I love that feature when getting nasty code, thought Reflector has saved me many times as well.
# November 29, 2004 9:49 PM

foobar said:

Ctrl-A. Ctrl-K. Ctrl-F.

# November 30, 2004 1:11 AM

indincind said:

Questions and answers about 1973 oldsmobile 442 and Intrigue oldsmobile recall.

# August 31, 2009 11:11 PM

barDeegoacigo said:

Adidas soccer boots and Tecnica moon boots, Kids rubber boots and Frey boots here clothes.goodnano-av.com

# September 14, 2009 11:23 AM

Abamnvenvab said:

Computer brands and What are computer virus, New computer softwares and Background computer here computers.goodnano-av.com

# September 17, 2009 6:44 AM

FlogeftDete said:

Only for you daily news, events and tips about Dildo and Dildo contortionist http://dildo.goodnano-av.com/

# October 14, 2009 9:18 PM

Bagozoosy said:

Bookmarked by the billions Dvd site! http://dvd.goodnano-av.com/

# October 20, 2009 8:11 AM

encasokneenda said:

As about Fantasy, Draft fantasy nfl, Advance fantasy final tactic, Final fantasy 3 walkthrough fantasy.goodnano-av.com

# November 4, 2009 11:17 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)