public static void Main() { WriteLine("Problem 16"); int answer = Problem16.Solve(); WriteLine($"answer = {answer}"); }
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(); }