public static void Main()
Console.Write("Add meg a téglalap egy oldalát:");
string oldal1=Console.ReadLine();
int a= Convert.ToInt16(oldal1);
Console.Write("Add meg a téglalap másik oldalát:");
string oldal2 = Console.ReadLine();
int b= Convert.ToInt16(oldal2);
Console.Write("Terület:");
Console.WriteLine(Terület);
Console.Write("Kerület:");
Console.WriteLine(Kerület);