how do i do c# code snippets?

DannyT

Active member
Joined
Apr 14, 2005
Messages
36
I read other posts and they all contain wonderfully stylized c# samples.

mine always displays massively spaced out and no colours: -

[csharp]
public class uglyFormatting
{
public void uglyFormatting
{
throw new Exception("UGLY");
}
}
[/csharp]

i use [charp] and [/csharp ] tags is that wrong?
 
Ahhh cheers plausibly, the descriptions in the Post Formatting section are a bit screwy for csharp.

Ta!
 
Back
Top