I had to figure out a way to ask this that wasn't subjective, so this is specifically for Microsoft's coding style. In the ASP.NET MVC source, code files look like this:
// Copyright info
namespace System.Web.Mvc {
using System;
// blah blah
// ...
}
Note that 'using System' lines up nicely with the namespace. If I was to apply this style to my company's code, should I put 'using' statements for my company's namespaces directly below as well (so that it lines up)? When I put 'using' declarations at the top, I usually start with .NET namespaces first, so that's why I'm unsure. For example, should I do this:
namespace MyCompany.MyProduct.Something {
using System;
using MyCompany.MyProduct.SomethingElse;
}
or this:
namespace MyCompany.MyProduct.Something {
using MyCompany.MyProduct.SomethingElse;
using System;
}
I'm tempted toward the latter.