コード例 #1
0
        public static void Main()
        {
            Problem1.Execute();
            Problem2.Execute();
            Problem3.Execute();

            Console.ReadLine();
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 static void Main(string[] args)
 {
     Problem1.Calculate();
     Problem2.Calculate();
 }