I'M trying to learn to program through C#. The book I'M reading is trying to explain namespaces but I'M failing to understand it. As I understand it, a class is a blueprint for an object and, and a class is just a special block of code. So what exactly is a namespace, can I navigate through my windows explorer and see on? Is it actually a C# file, or a collection of C# files? Thanks.
lewashby
56
Junior Poster
Recommended Answers
Jump to PostThink of it as an extra layer of misdirection :)
If you code in any kind of organization (or even if you don't), you will inevitably have 180 different Print methods in different classes, some of which will be named Output (just for sake of argument).
Now say …
All 4 Replies
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
lewashby
56
Junior Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
kvprajapati
1,826
Posting Genius
Team Colleague
jonsca
commented:
Much more concise!
+2
sknake
commented:
very clear
+6
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.