Example #1
0
        public static void Main()
        {
            Problem1.Execute();
            Problem2.Execute();
            Problem3.Execute();

            Console.ReadLine();
        }
Example #2
0
        static void Main(string[] args)
        {
            //https://projecteuler.net/archives

            Console.WriteLine("Which Problem would you like to load? (One, two, etc)");
            string userInput = Console.ReadLine();

            switch (userInput.ToLower())
            {
                case "one":
                    Problem1 problem = new Problem1();
                    problem.ProblemOne();
                    break;

                default:
                    Console.WriteLine("Input not recognised");
                    Console.ReadLine();
                    break;
            }
        }
Example #3
0
 static void Main(string[] args)
 {
     Problem1.Calculate();
     Problem2.Calculate();
 }