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# Objects Inheritance Inheritance

Richard Külling
Richard Külling
9,465 Points

Where and how do I check weither Polygon or Square is the parent class?

The Quiz asks if it is A: new Polygon(4) is Square or: new Square(2.5) is Polygon How can I find out which one is who's parent? is it on msdn? if so, where is that information?

1 Answer

Steven Parker
Steven Parker
231,198 Points

These are not MSDN classes. But if you consider the kinds of things these class names might represent, you can figure out the answer.

If your geometry is too rusty for this to make sense, try setting this quiz aside for a moment and do the next code challenge. Then return to the quiz and you should breeze through.