Example #1
0
        static void Main(string[] args)
        {
            Problem12 p = new Problem12();

            DateTime d = DateTime.Now;
            Console.WriteLine("Time started ==" + d);

            p.answerProblem();
            
            TimeSpan t = d - DateTime.Now;
            Console.WriteLine("Time taken =="+t);

            Console.ReadLine();

        }
Example #2
0
        static void Main(string[] args)
        {
            Problem12 p = new Problem12();

            DateTime d = DateTime.Now;

            Console.WriteLine("Time started ==" + d);

            p.answerProblem();

            TimeSpan t = d - DateTime.Now;

            Console.WriteLine("Time taken ==" + t);

            Console.ReadLine();
        }