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 trialAhmed Noor
Courses Plus Student 7,539 PointsGetting multiple errors - CS1525 and CS1519. Copied and pasted the code in lesson and still getting same errors.
Ahmed Noor
Courses Plus Student 7,539 PointsDescription updated with code
Steven Parker
231,236 PointsThe "code" in question is your program, not the text of the error messages.
The best way to share the code is to make a snapshot of your workspace and post the link to it here.
Ahmed Noor
Courses Plus Student 7,539 PointsSnapshot provided.
4 Answers
Steven Parker
231,236 PointsMuch better with the snapshot!
So in "Program.cs", on line 12, the semicolon is missing from the end of the statement.
The other errors are apparently side-effects of that same issue.
Ahmed Noor
Courses Plus Student 7,539 PointsThanks Steven!
Tojo Alex
Courses Plus Student 13,331 Pointswhen I open your link there is another folder called " Program2.cs " which confuses me please note that the code provided in teachers notes aren't always correct.
Ahmed Noor
Courses Plus Student 7,539 PointsI've sorted this out now thanks! :O)
Tojo Alex
Courses Plus Student 13,331 Pointsoh my bad ;D
Adomas Domeika
6,151 PointsAdomas Domeika
6,151 PointsCan you paste your code in? Because it is really hard to tell what the errors are without seeing your code...