Interactive C# Syntax Highlighter
This is a live online demo of our open-source C# Syntax Highlighter. We use, on the server-side, exactly the same classes presented in our project, that you can download and install on your computer. So please try to not abuse this online service and use it just sporadically.
Copy and paste here below your own C# code, press Submit button and get in return equivalent, but formatted, text. To see the actual HTML code generated for your text, find the first occurrence of a PRE tag in the HTML source code for the whole page. By default, the text box is filled in with the full source code of the CSharpSyntaxHighlighter class itself, which provides the main implementation of the C# syntax highlighter:
Your C# Code (maximum 5000 chars):