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

Hammad Ali
PLUS
Hammad Ali
Courses Plus Student 2,610 Points

I am not able to answer for the question which asks the name of the namespace.

In quiz it is asking me that what is the name of the namespace of the following and i.e. Adobe.Illustrator.Canvas.Dial(); I'm stuck in this question please help me out.

1 Answer

andren
andren
28,558 Points

The hint for that question is the following quote from the video preceding the quiz:

"So when looking at a method call, you can tell what the namespace name, the class name, and the method name is by reading from right to left. The right-most name is the name of the method. Left of that is always the name of the class. Everything to the left of the class name is the namespace name."

So for "Adobe.Illustrator.Canvas.Dial"

Dial is the method name, Canvas is the class name, and Adobe.Illustrator is the namespace name.