Peter,
When posting code sample(s), it is best if you place them inside UBB [code] tags. This will retain your code�s indentation and formatting when it is displayed (at least in most web browsers). It will also cause most web browsers to use a monospaced font when displaying it. All of this makes reading the code
much easier. Some folks won't even try to read your code if it is not in [code] [/code] tags.
Take a look at the information on the Using UBB Tags page for more information. But ultimately, it is as simple as placing your code between a set of [code] and [/code] tags.
So if in the posting window you type:
[code]
public class SomeClass
{
more code typed here
}
[/code]
It will be displayed as:
Regards, and welcome to the ranch.