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 Encapsulation and Arrays `Index Out of Range

Michael Dowd
Michael Dowd
16,272 Points

[SOLVED] Does the function GetLocationAt in the video need a return type?

I cant get the code to compile without one.

3 Answers

Michael Dowd
Michael Dowd
16,272 Points

Nevermind, he fixed it in the next video.

Steven Parker
Steven Parker
231,198 Points

:mailbox_with_mail: I got your request .. but I see you already found the answer in the video. :stuck_out_tongue_winking_eye:

You could put [SOLVED] in the title to let folks know the issue is closed (as an alternative to picking a "best answer").

I have this problem and watched the video 30 times and can't find why my returm type for GetLocationAt is wrong.