Using .NET 2.0, C #, development of Windows Forms, Enterprise Library 3.1.
We have a project namespace (name it Project). We also have several subspaces inside this project, for example Project.Namespace1, Project.Namespace2, etc.
In one class, we define enumerations and those that will be used with the corporate library journal block, for example:
namespace Project.Logging
{
public static class Logging
{
public enum LogPriority
{
}
}
}
In another class, I use enumeration values, so I need to declare a using statement. The same project, so there is no link to the link, right?
If I declare use inside a local namespace like this, it works fine:
namespace Project.SomeName
{
using Project.Logging;
}
, using , " " LogPriority "Project.Logging"... :
using Project.Logging;
namespace Project.SomeName
{
}
? - ?