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)); }
static void Main(string[] args) { Calculator c = new Calculator(); Console.WriteLine(c.SumFrom1ToX(3)); }