G
Guest
Hi,
I sometimes see code where the 'using' statements at the top of the file are
located
before the namespace declaration, and sometimes they are located inside it.
For example:
using System;
using System.Collections;
namespace MyNamespace
{
...
}
and
namespace MyNamespace
{
using System;
using System.Collections;
...
}
What is the diference between the two?
Thanks,
Ben
I sometimes see code where the 'using' statements at the top of the file are
located
before the namespace declaration, and sometimes they are located inside it.
For example:
using System;
using System.Collections;
namespace MyNamespace
{
...
}
and
namespace MyNamespace
{
using System;
using System.Collections;
...
}
What is the diference between the two?
Thanks,
Ben