Namespaces and Sub-Namespaces and the libraries they reference in C#
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2010-06-09T20:10:34Z
Indexed on
2010/06/09
20:22 UTC
Read the original article
Hit count: 504
c#
|namespaces
Can I have
namespace somenamespace
{
//references functionality in DLL_1
namespace somesubnamespace
{
//references functionality in DLL_2
}
}
And if I do this, when I use just somenamespace, will it only include DLL_1 in the solution and if I use somenamespace.somesubnamespace will it include DLL_1 and DLL_2 in the solution?
Or are DLL_1 and DLL_2 set on the project that contains the namespace and no matter which I use, both DLLs will be copied?
© Stack Overflow or respective owner