C#.Net
what is the difference between assembly and namespace
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ravi Shankar KotaPosted Oct 16, 2008, 4:13 AM
Thanks a lot,Dear Alan.Bye..
Ravi Shankar KotaPosted Oct 16, 2008, 4:13 AM
Thanks a lot,Dear Alan.Bye..
AlanPosted Oct 4, 2008, 6:38 AM
An assembly is a .NET application, either an .exe or a .dll.
A namespace is a way of organizing your types and can be split over more than one assembly. They help prevent clashes between similarly named types in your application and in any libraries you use.
So, for example, System.dll is an assembly, part of the .NET framework class library.
It contains numerous namespaces such as System, System.IO and System.Net.
However, the System and System.IO namespaces also feature in the .NET framework assembly called mscorlib.dll and so these are examples of namespaces being split over more than one assembly.