Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Basics (Retired) Console I/O Namespaces

what is the answer to the name of the namespace question I've tried every word in the code and nothing returns back anyt

need help with this question because I understand the namespace is supposed to be the name furthest to the left but when I type in Adobe or any other words but they all return bummer I was wrong what am I doing wrong and can someone help me?

3 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! You are semi-correct. The namespace is the furthest to the left. But start from the right and read to the left :arrow_left: MyCompany.AppOne.MyClass.myMethod(). The method is furthest to the right. In this example the method would be myMethod. The class would be MyClass. The namespace would be everything to the left of the class. Because namespaces can be subdivided the namespace in this example would be MyCompany.AppOne.

I think you can get it with these hints, but let me know if you're still stuck! :sparkles:

Thank you I got it right can a class or a method be subdivided too or just the namespaces?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Just the namespaces :). In fact, namespaces aren't specific to C#. They aren't even specific to programming. They are also used in networking and file systems. Essentially, a namespace is an abstract container. :smiley:

Ok thank you I understand it now.