Contributions are quite welcome, though some rules should be followed!
The general rule we follow is "use Visual Studio defaults".
- Use Allman style braces
- Use four spaces of indentation (no tabs)
- Use
_camelCase
private members and usereadonly
where possible - Avoid
this.
unless absolutely necessary - Always specify the visiblity, even if it's the default (i.e.
private string _foo
notstring _foo
) - Namespace imports should be specified at the top of the file, outside of namespace declarations and should be sorted alphabetically, with
System.
namespaces at the top and blank lines between different top level groups