ok...this gets confusing for me to explain, so i will show a class from one namespace and a seperate namespace...
Company.Product.Domain
(this represents the class that contains methods specific to that class, i named it "Domain" just so you can see how I'm using the same name in a separate namespace
Company.Product.Domain.Data.Contracts
(this namespace will be for all of the data contracts to be used in a WCF service)
If I am in the Company.Product.Domain
class and I try to use the classes within Company.Product.Domain.Data.Contracts
, when I attempt to type this out, i get to Company.Product.Domain
and will not show intellisense any further. It also shows that that reference is a class instead of allowing me to get to the namespace.
I do have the Company.Product.Domain.Data.Contracts
referenced in my Company.Product.Domain
class.
Is it possible to have a namespace Company.Product
with a class inside of it and also another namespace of Company.Product.Domain.Data.Contracts
? If so, how?
Thanks