Abc.NCrafts.Quizz.Performance.Questions._007.Answer2.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void
        public static void Run()
        {
            Array.Clear(_result, 0, _count);
            // begin
            for (var index = 1; index < _count; index++)
            {
                _result[index] = _x[index] + _result[index - 1];
            }
            // end
            Logger.Log("Sum: {0}", _result.Sum());
        }
    }