Question by
merphulous · Feb 21, 2017 at 07:54 PM ·
errormessageerror-cs1525
unexpected symbol
how do I overcome this problem?? i tried re-writing the code from the start but it still won't work! I attached some screenshots of my code and error. Thank you!
screen-shot-2017-02-22-at-25020-am.png
(40.7 kB)
screen-shot-2017-02-22-at-25010-am.png
(302.2 kB)
Comment
Answer by HenryStrattonFW · Feb 21, 2017 at 09:28 PM
The error points you to line 2, if you look carefully you will see that your first using statement is missing the semi-colon at the end of the line, which is leading the compiler to not understand the next using statement. add a ';' to the end of your first using statement, and I'd also suggest moving that semi-colon from its own line onto the line it relates to (the second using statement) for clarity.