Scott Hanselman blogged about a great blog-engine-agnostic hilighter for code. Out of the box, Alex Gorbatchev’s tool called SyntaxHighlighter supports many languages, including C#, C++, Ruby, CSS, and JavaScript. This will be invaluable for posting code samples here.
Anthony Bouch brings things full circle by writing a plugin called PreCode for Windows Live Writer to allow you to paste code in a format that SyntaxHighlighter can handle.