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 in Code

Dont understand

I have been going through this course not sure what all the numbers in the parameters mean. I was hoping that it'll come up later, but it never did. Can I please get help on this topic.

1 Answer

Steven Parker
Steven Parker
231,271 Points

:mailbox_with_mail: I got your request.

The parameter meanings vary with what they are used on.

For creating a Map, the parameters determine the width and height of the map that will be created.

For a Point or a MapLocation, the parameters determine the location on the map (as "x" and "y" coordinates) that these items are associated with.

Does that make it clear?

I defenitly understand more clearly now, but what unit is the program using?

Steven Parker
Steven Parker
231,271 Points

These values are just unitless counts. I suppose you could say the units are "number of cells".