public static void Main()
byte MAY, MEN, NUM1, NUM2, NUM3, NUM4, NUM5, NUM6, NUM7, NUM8, NUM9, NUM10;
Console.WriteLine("NUMERO 1:"); linea = Console.ReadLine();
NUM1 = byte.Parse(linea);
Console.WriteLine("NUMERO 2:"); linea = Console.ReadLine();
NUM2 = byte.Parse(linea);
Console.WriteLine("NUMERO 3:"); linea = Console.ReadLine();
NUM3 = byte.Parse(linea);
Console.WriteLine("NUMERO 4:"); linea = Console.ReadLine();
NUM4 = byte.Parse(linea);
Console.WriteLine("NUMERO 5:"); linea = Console.ReadLine();
NUM5 = byte.Parse(linea);
Console.WriteLine("NUMERO 6:"); linea = Console.ReadLine();
NUM6 = byte.Parse(linea);
Console.WriteLine("NUMERO 7:"); linea = Console.ReadLine();
NUM7 = byte.Parse(linea);
Console.WriteLine("NUMERO 8:"); linea = Console.ReadLine();
NUM8 = byte.Parse(linea);
Console.WriteLine("NUMERO 9:"); linea = Console.ReadLine();
NUM9 = byte.Parse(linea);
Console.WriteLine("NUMERO 10:"); linea = Console.ReadLine();
NUM10 = byte.Parse(linea);
if ((NUM2 > MAY)) MAY = NUM2;
if ((NUM3 > MAY)) MAY = NUM3;
if ((NUM4 > MAY)) MAY = NUM4;
if ((NUM5 > MAY)) MAY = NUM5;
if ((NUM6 > MAY)) MAY = NUM6;
if ((NUM7 > MAY)) MAY = NUM7;
if ((NUM8 > MAY)) MAY = NUM8;
if ((NUM9 > MAY)) MAY = NUM9;
if ((NUM10 > MAY)) MAY = NUM10;
if ((NUM2 < MEN)) MEN = NUM2;
if ((NUM3 < MEN)) MEN = NUM3;
if ((NUM4 < MEN)) MEN = NUM4;
if ((NUM5 < MEN)) MEN = NUM5;
if ((NUM6 < MEN)) MEN = NUM6;
if ((NUM7 < MEN)) MEN = NUM7;
if ((NUM8 < MEN)) MEN = NUM8;
if ((NUM9 < MEN)) MEN = NUM9;
if ((NUM10 < MEN)) MEN = NUM10;
Console.WriteLine("MAYOR ES:" + MAY);
Console.WriteLine("MENOR ES:" + MEN);
Console.WriteLine("Pulse una Tecla:"); Console.ReadLine();