M
Michael Roper
If I've got something like:
using System;
namespace myCompany.myLibrary
{
...class definitions here...
}
in a file, such that there's nothing outside of the namespace block except
the using statement(s), is there an alternative way to say the same thing
that doesn't require the extra level of nesting for the namespace?
That is, I'm looking for a declaration that effectively says "everything in
this file is in the namespace myCompany.myLibrary," and eliminates the need
for the actual namespace declaration block.
Michael Roper
using System;
namespace myCompany.myLibrary
{
...class definitions here...
}
in a file, such that there's nothing outside of the namespace block except
the using statement(s), is there an alternative way to say the same thing
that doesn't require the extra level of nesting for the namespace?
That is, I'm looking for a declaration that effectively says "everything in
this file is in the namespace myCompany.myLibrary," and eliminates the need
for the actual namespace declaration block.
Michael Roper