C# (C sharp) need help clarifying classes, namespaces?

simpleonline12

New member
I'm just starting out and I'm reading an amazing book called head first C#...everything is coming together but I am trying to find a better explanation of Namespaces vs Classes...Here is what I am getting at it so far....please correct me if I'm wrong


Namespaces are like your public library filled with books
Classes are the books inside the library
Methods are the chapters in the book
Statements are the sentences on the page that run the code.

Am I close?

thanks
 
Back
Top