[Mono-list] Style

Dominic Cooney dominic@dcooney.com
Sun, 3 Mar 2002 12:04:39 +1000


I realize you are concerned about braces on if/elses, but where returns
are concerned, I don't think you should forget about ?:, thus:

namespace Viash.Guarav.Namespace
{
    public class GuaravViash
    {
        public int Property1
        {
            get { return someCheck() ? 0 : 1; }
        }
    }
} 

Is there a canonical style document yet? I am very curious about this
obj.meth<space>() for invocations...