public static void Main() { Problem1.Execute(); Problem2.Execute(); Problem3.Execute(); Console.ReadLine(); }
static void Main(string[] args) { Problem2 p2 = new Problem2(); p2.computeSum(); Console.WriteLine("The Result is {0}\n", p2.result); //Problem1 p1 = new Problem1(); //p1.computeSumOf3Or5Multiples(); //Console.WriteLine("The Result is {0}\n", p1.result); }
static void Main(string[] args) { Problem1.Calculate(); Problem2.Calculate(); }