NameSpace
Namespace consists of 2 main basic functionality :-
- NameSpace Logically types group , ex. System.Web.UI logically groups our UI related features.
- In Object Oriented world many times its possible that programmers use the same class name.By qualifying the NameSpace with the classname this collision is able to be eradicated.
Difference between NameSpace and Assembly:
Following are the 2 differences between namespace and assembly :
- Assembly is a physical grouping of the logical units. Namespace logically groups all the classes.
- The Namespace can span multiple assemblies but assembly cannot do it.