static void Main(string[] args)
 {
     InterestCalculator ic = new InterestCalculator(500, 5.6, 10, GetCompoundInterest);
     Console.WriteLine(ic);
     ic = new InterestCalculator(2500, 7.2, 15, GetSimpleInterest);
     Console.WriteLine(ic);
 }
        static void Main(string[] args)
        {
            InterestCalculator ic = new InterestCalculator(500, 5.6, 10, GetCompoundInterest);

            Console.WriteLine(ic);
            ic = new InterestCalculator(2500, 7.2, 15, GetSimpleInterest);
            Console.WriteLine(ic);
        }