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#

"Perfect" eh. Nah, not even close. Here's why!

OK, So. I know this isn't actually suppose to be "Perfect" and it may even cover it.

But I find it funny how you forgot about what happens if you type text instead of a number (integer), I typed: "WASDWASD" (because why not right?) and it waited for about 10 seconds, and.. boom, it crashed with a "fatal error" not being picked up by the compiler.

(Note: I use Visual Studio but had still coded the same thing.)

1 Answer

Steven Parker
Steven Parker
231,236 Points

You comments would be easier to understand if you provided a link to the section of the course you are referring to.

I commented on a video, doesn't it link itself?

https://teamtreehouse.com/library/c-basics/perfect/if-else-if-else Here, I just find it weird that it didn't link.