Blog Moved ....

ScottCate.com

community

frenz

my book(s)

my products

My C# Code Formatting.

I've been asked several times about how the C# code in my blog gets formatted. I use this GREAT! code formatter. It's simple, copy/paste into a text box, pick the technology c#, VB, HTML/ASPX, XML. You can turn on/off line numbers, and alt line back colors.

I hope this service is never taken off line.

http://www.manoli.net/csharpformat/

After looking closer at the site, they've made the source code available, so I'll grab a copy and store it.

Comments

rajbk said:

Thanks for posting this.

Raj

# January 10, 2007 2:20 PM

John said:

I've been using this too, it's so convenient!

# January 11, 2007 4:09 PM

Amil said:

That appears to have an issue and get's color coding all confused when you have a string literal that starts with "@".

# October 9, 2008 8:01 PM

WildStrawberry said:

Has someone know how to format the code with the non-selectable line numbers (like ScottGu's code examples)?

# March 10, 2009 12:09 PM

Szymno said:

For me it is a best formatting tool so far.

# March 29, 2010 6:24 AM