//after every sentence like int a,b ; //and not in a places like this : if(a <= b) { //you don't place ; in the } place Console.WriteLine("a <= b"); //after this you need to place ; }