http://code.google.com/p/syntaxhighlighter/
You can have the code collapsed at first by adding collapse
.
<pre name="code" class="c-sharp:collapse" />
1 2 3 4 5 6 7 8 9 string path = ""; string safeReferrer = null; FileInfo fileInfo = new FileInfo(string.Format("{0}/{1}", path, image)); int index = 0;