In asp.net, what is the concept of the Namespace?
I mean, I am looking at a Custom MembershipUser, at the top it has a Namespace of say, MyNameSpace....
within this MembershipUser, it implements a custom ObjectBase class, which also has the namespace MyNameSpace.
Then in this example I'm looking at, there are a couple of other custom classes and they have a namespace of, for example:
Why do you create this "Stuff" sub namespace? What is that called anyway? and why?
I have read this:
So please don't send me to a URL.
For instance.. it says:
>>causes the source code following the declaration to be compiled within that namespace
So what are the benefits of compiling into a namespace?
Just a one paragraph explanation explaining why you use it, the benefits, etc. Not looking for a book, just something you'd explain to a trainee at the coffee pot about namespaces in human language.
Now, in the above url, it says this:
>>Adding to a Namespace. If a namespace is already defined, even outside your project, you can add programming elements to it. To do this, you use a Namespace statement to direct Visual Basic to compile the following elements into that namespace.
It shows an example of using this namespace:
But that is an existing namespace. Why would you add to an existing System namespace?