[Mono-dev] Coding guidelines nitpicks

"Andrés G. Aragoneses" knocte at gmail.com
Mon May 11 12:16:06 EDT 2009


I've found two cases which are not mentioned in the Mono Coding
Guidelines [1]:

1) Casting: which one is correct?

a)

x = ((int)GetPropertyValue ()).ToString ();

b)

x = ((int) GetPropertyValue ()).ToString ();


2) Generics:  which one is correct?

a)

x = new List<int> ();

b)

x = new List <int> ();

Thanks,

	Andres


[1] http://www.mono-project.com/Coding_Guidelines
-- 



More information about the Mono-devel-list mailing list