static void Main(string[] args) { Mathclass math = new Mathclass(); mathClass(5.8f, 5.9f); mathClass(5, 6); Console.ReadLine(); }
static void Main(string[] args) { int a = 3; int b = 2; int c = 4; Mathclass x = new Mathclass(); Console.WriteLine(x.Prostokat(a, b)); Console.WriteLine(x.Kwadrat(a)); Console.WriteLine(); Console.ReadKey(); }