New namespace

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

If I create a new namespace, where do I locate it so it doesn't have to be
part of the project or solution?

using mynewnamespace;
 
If you use it in separate project you'll have to AddReference in order to be
able to use it, else please pay attention on hierarchy of namespaces. eg
namespace nsone
{
namespace ntwo
{
public class test()
{}
}
}

should be retrived as
using nsone.ntwo;
test t = new test();
 
Back
Top