Welcome to the Treehouse Community
Looking to learn something new?
I Need Help With A Few Terms
So I have gone through the course a couple of times yet I still am quite confused with some C# terminology and what they are actually used for. So here is what I am confused about:
So what really are namespaces (I watched the video) but how does it work. For example: if I were to make a namespace named Treehouse well what is the purpose of that, what is that meant to do and how does the namespace "system" work, what is it? Why would you put "using system;" instead of "using Treehouse;" for an example.
I have the same problem with classes. What is the purpose of them and their relationship with namespaces and methods?
The same thing with methods. What is the purpose of them and their relationships with classes and namespaces?
And finally: I don't get the purpose of the code "void" or "static void" or "static void main" I mean what is the purpose of putting void there as well as what is the purpose of putting main there?
Don't worry about those for now. Just forget about them. In the next course you will learn all about this nitty-gritty stuff.
Once you've completed this course, you should move on to the
C# Objects course which talks about everything you are asking now and extra. Just be patient and you'll get there.
Still, don't lose you focus on this course since this course is very important as a first step!
Hello Colby, You should think about this as a HIERARCHY.
In the programming world: Namespace --> Classes --> Methods (functions)
In the real world:
Same Association(Example): Country --> City --> Streets