O'Reilly logo

Special Edition Using C# by NIIT

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Namespaces

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.

Note

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required