Namespace is a logical grouping of a related classes,structure and interface.It is heavily used within c# programming in different ways:
- The .NET Framework classes use namespaces to organize its many classes
- Declaring our own namespaces can help control the scope of class in larger programming projects.
- Within the namespace, all declared items must be uniquely named. However, the same name may be duplicated in different namespaces.