Exemple #1
0
        static void Main(string[] args)
        {
            Calculator c = new Calculator();
            //c.PrintXTo1(3);
            int result = c.SumFrom1ToX(100);

            Console.WriteLine(result);
            Console.ReadKey();
        }
 static void Main(string[] args)
 {
     Calculator c = new Calculator();
     Console.WriteLine(c.SumFrom1ToX(3));
 }
Exemple #3
0
        static void Main(string[] args)
        {
            Calculator c = new Calculator();

            Console.WriteLine(c.SumFrom1ToX(3));
        }