示例#1
0
        public static void Main()
        {
            WriteLine("Problem 16");

            int answer = Problem16.Solve();

            WriteLine($"answer = {answer}");
        }
示例#2
0
 static void Main(string[] args)
 {
     Problem16 prog = new Problem16(1);
     for (int i = 0; i < 1000; i++)
     {
         prog.multiply(2);
     }
     Console.WriteLine("Answer = " + prog.sum());
     Console.ReadKey();
 }