check this link pirate mate , it's perl ( Syntax highlighting C# code ) , but it's not to hard to follow ...
Using Perl to Syntax Color C#