A namespace is a container used to group classes, structures, interfaces, enumerations, and delegates. Namespaces enable developers to organize their programs and prevent name clashes among class names. Namespaces group base classes, .NET classes, and the classes developers will define in large applications.
Namespaces ensure that programs are hierarchically organized. The programmer is able to locate the desired program with minimum effort. Namespaces also facilitate easy reusability of code.
Namespaces are used for internal and external organization of code. Internal organization mainly involves organizing the various program elements in a logical and systematic order. The main purpose of internal organization is that it enables ...