After seeing it on Greg Young's blog, and after getting sick of my code snippets in blogger not working, I decided to try syntaxhighlighter. To find out how to use it with blogger read the usage guidelines and more importantly this page which tells you how to get setup to use it with blogger.
Anyway here is an example:
public class DomainChangeTrackingService : IDomainChangeTrackingService
public void ProcessMessage(DomainChangeMessage message)