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 trialAngus Eliott
3,793 Pointserror CS1513
Hi, my code, at the link below seems to be correct but returns the error number CS1513. I am using Microsoft Visual Studio. https://1drv.ms/u/s!ArybRXN2uyfJnE0H4R6Wca1zGg8G
1 Answer
Steven Parker
231,269 PointsI got 2 instances of a different error (CS1525), on lines 73 and 92. In both cases there is an "else" that doesn't immediately follow an "if" block.
If you need to ask about more issues, be sure to quote the entire error message including the line number.