public static void Main() { Fact f = new Fact(); for (int i = 0; i <= 20; i++) { Console.WriteLine("{0}! = {1}", i, f.CalcFact(i)); } }