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 trialGursimran Singh
1,045 PointsIs question 2 for the namespaces quiz broken or am i just doing something wrong ?
As i was doing the question i got it wrong even though i though i had the write answer, so i went back a re did it with a different answer wrong again so after trying all the answers it kept saying it was wrong, now i'm not sure if I'm doing something wrong or its the system
4 Answers
Enrique Munguía
14,311 PointsAdobe.Illustrator.Canvas.Paint();
In this case you identify the method Paint because it has parenthesis, this method must be associated with a class, that is Canvas, this class must be within a Namespace, namespaces can have multiple words separated by dots, hence the namespace is Adobe.Illustrator.
When programming C# you are going to see commonly namespaces like System.LINQ, System.Text, System.Threading and many others, even namespaces with three or four words.
Gursimran Singh
1,045 PointsMy initial answer was Adobe, then when it said it was wrong the tried the other ones
Gursimran Singh
1,045 PointsOhh, okay didn't know that you could have a namespace with multiple words, i was trying only single words.
Thanks a lot for your help!
Gursimran Singh
1,045 PointsOhh, okay didn't know that you could have a namespace with multiple words, i was trying only single words.
Thanks a lot for your help!
Enrique Munguía
14,311 PointsEnrique Munguía
14,311 PointsWhat was your answer?