WikiFunctions.WikiDiff.UndoAddition C# (CSharp) 메소드

UndoAddition() 공개 메소드

public UndoAddition ( int right ) : string
right int
리턴 string
        public string UndoAddition(int right)
        {
            StringBuilder s = new StringBuilder();

            for (int i = 0; i < RightLines.Length; i++)
                if (i != right)
                {
                    if (s.Length > 0)
                    {
                        s.Append("\r\n");
                    }
                    s.Append(RightLines[i]);
                }

            return s.ToString();
        }