예제 #1
0
        static void Main(string[] args)
        {
            ArithmeticProgression AP = new ArithmeticProgression();

            Debug.WriteLine(AP.GetAverage());
            Debug.WriteLine(AP.GetSum());
        }
예제 #2
0
파일: Program.cs 프로젝트: AndrewDCH/COURCE
        static void Main(string[] args)
        {
            ArithmeticProgression a = new ArithmeticProgression(2, 3);

            Console.WriteLine(a.SumOfNMembers(5));
            Console.ReadKey();
        }