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 trialDerrick Hoff
9,385 Pointswhat 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
Treehouse TeacherHi there! You are semi-correct. The namespace is the furthest to the left. But start from the right and read to the 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!
Derrick Hoff
9,385 PointsThank you I got it right can a class or a method be subdivided too or just the namespaces?
Jennifer Nordell
Treehouse TeacherJust 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.
Derrick Hoff
9,385 PointsOk thank you I understand it now.