示例#1
0
 private static void PrintNumbers(int runns)
 {
     var mfc = new MyForLoopClass();
     mfc.OneToHundred(runns);
 }
示例#2
0
 private static void CalculateAverage()
 {
     var mfc = new MyForLoopClass();
     Console.WriteLine("{0:N2}", mfc.GetAverage(new int[] { 23, 34, 53, 23, 34, 599 }));
 }