Possible Duplicate:
How to display formatted code in webpage
I'm sure this question must have been asked before however I cannot find it anywhere. (I must be searching for the wrong thing)
Much like this site allows you to do, I would like to place c# onto my webpage so that I can write tutorials / examples.
var tute = new Tutorial();
//Display all of this
SomeMethod(tute);
is this performed by CSS
trickery? and if so is there a library that can be taken to do this?