Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

C#

Nick Fink
Nick Fink
962 Points

Bugs in quizzes

Can someone please take a look at this? This works fine in Visual Studio.

https://teamtreehouse.com/library/c-objects/encapsulation-and-arrays/arrays-2

My answer = double [] lapTimes = new double[4];

1 Answer

Steven Parker
Steven Parker
220,925 Points

:warning: Be careful about testing a challenge in an external REPL.

If you have misunderstood the challenge, it's also very likely that you will misinterpret the results.

However, in this case, it appears you've found a legitimate bug. The challenge apparently does not like a space between the keyword double and the braces, which is not a restriction of the language syntax itself.

You may want to report this to Support, it might get you a "special Exterminator badge".