In Namespace there are some classes, functions and structs.
So what is the use of namespaces?Why we are adding all things in single collection?
I had seen the example of two namespaces and read that how to access there variables in main.
But I want to know the purpose to write the namespace???