C# C# Basics (Retired) Perform if / else

Ahmed Noor
PRO
Ahmed Noor
Pro Student 7,539 Points

Getting multiple errors - CS1525 and CS1519. Copied and pasted the code in lesson and still getting same errors.

Adomas Domeika
Adomas Domeika
6,151 Points

Can you paste your code in? Because it is really hard to tell what the errors are without seeing your code...

Steven Parker
Steven Parker
186,894 Points

The "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.

4 Answers

Steven Parker
Steven Parker
186,894 Points

Much 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.

Tojo Alex
PRO
Tojo Alex
Pro Student 13,331 Points

when 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
PRO
Ahmed Noor
Pro Student 7,539 Points

I've sorted this out now thanks! :O)