public static void Main()
int winNum = r.Next(0, 10);
Console.WriteLine("Guess a number inbetween 0 and 10: ");
int userNum = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Too high!");
}else if(userNum < winNum)
Console.WriteLine("Too low!");
}else if(userNum == winNum)
Console.WriteLine("You win!");
Console.WriteLine("The number was: " + winNum);