[Mono-list] Style
Martin Baulig
martin@gnome.org
02 Mar 2002 15:41:28 +0100
"Dwivedi , Ajay Kumar" <AjayKumar.Dwivedi@dresdner-bank.com> writes:
> > As Linus writes, in the kernel's CodingStyle:
> <snip>
> > In short, 8-char indents make things easier to read, and have the
> > added benefit of warning you when you're nesting your functions too
> > deep. Heed that warning.
> >
> > This is a very good argument for using 8-space identation.
>
> Not exactly. Those arguments work for C/C++, not in C#.
> Three levels of indentation is *minimum* in C# (or java for that matter).
> namespace starts on column 1
> class declaration at first level
Well, you don't need to indent namespace and class declarations.
--
Martin Baulig
martin@gnome.org