You can't have a type and a namespace with the same name ("CILib.Express").
If you want a CILib.Express
namespace, the simplest option is to move/rename the CILib.Express
type.
You can, however, also have nested types. You could, for example, have:
namespace CILib {
public class Express {
public class SomeType {}
}
}
If separate files are a concern:
file 1:
namespace CILib {
public partial class Express {
// "Express" code
}
}
file 2:
namespace CILib {
public partial class Express {
public class SomeType {
// "SomeType" code
}
}
}
However, using
directives only relate to namespaces; I don't think you could have using CILib.Express
, as that is a type not a namespace.