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

Is 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
Enrique Munguía
14,311 Points
Adobe.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.

My initial answer was Adobe, then when it said it was wrong the tried the other ones

Ohh, 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!

Ohh, 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!