What is Namespace?
- Namespace is a collection of classes and interfaces Namespace is a logical naming scheme for group related types.
- A namespace can span multiple assemblies, and an assembly can define multiple namespaces. When the compiler needs the definition for a class type, it tracks through each of the different imported namespaces to the type name and searches each referenced assembly until it is found.
- Namespaces can be nested. This is very similar to packages in Java as far as scoping is concerned.
No comments:
Post a Comment