[Mono-devel-list] mono style guidelines

Miguel de Icaza miguel at ximian.com
Sun Mar 7 11:50:33 EST 2004


Hello,

> The ECMA docs seem to use
> 
> class Foo
> {
>     public int Bar() {
>     }
> }
> 
> but most of the C# code done on VS.NET has
> 
> class Foo
> {
>     public int Bar()
>     {
>     }
> }

We use the later as well:

class Foo {
	public int Bar ()
	{
	}

	public int Property {
		get {
			return 1;
		}
	}
}

Notice that this is different from what Ben posted.



More information about the Mono-devel-list mailing list