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 trialCJ Doyle
520 PointsI'm trying to understand the namespace location but it keeps telling me I'm wrong
The video says to locate the namespaces by reading right to left..the very right is the method, and to the left of that the class, everything else is the namespaces. Apple.IPhone.Dialer.Dial(), isn't everything after Dialer the namespaces?
1 Answer
Tyler none
2,631 PointsYes, everything after Dialer is the namespace, but the question isn't asking for the namespace.
Looking through the quiz for me it says "_____ is the name of the method in the following method call." Apple.IPhone.Dialer.Dial(string phoneNumber);
Apple.IPhone would be the namespace.
Dialer would be the class.
Dial would be the method.
The question is asking for the name of the method which is "Dial".