Possible Duplicate:
Should Usings be inside or outside the namespace
So there are two approaches to where you have your using statements in regard to the namespace. You can either have them outside the namespace declaration or inside. What is the pro/con between the two approaches and which is generally preferred.
using System;
namespace MyNamespace
{
}
or:
namespace MyNamespace
{
using System;
}
No comments:
Post a Comment