public static void Main()
Console.WriteLine("Write as many numbers as you want, but once yopu type a zero you the program will stop and tell you how many numbers were written.");
num = int.Parse(Console.ReadLine());
num = int.Parse(Console.ReadLine());
Console.WriteLine("The highest number you wrote is " + a);