Пример #1
0
        static void Main()
        {
            Calculos soma = new Calculos(5, 6);

            int res = soma.Somar();

            Console.WriteLine(res);
        }
Пример #2
0
        static void Main()
        {
            Calculos calculos = new Calculos(10, 2);

            Console.WriteLine(calculos.Somar());
        }