This is my very first day of programming without having any programming background. I was trying the below code. Please click the below link for the screenshot.
CS1513
Your if statement has a semicolon on the end, if you remove that it will compile just fine!
From
(uservalue == 1) ; { //code }
To
(uservalue == 1) { //code }