/// <summary> /// Copies the entire <c>AppenderCollection</c> to a one-dimensional /// <see cref="IAppender"/> array, starting at the specified index of the target array. /// </summary> /// <param name="array">The one-dimensional <see cref="IAppender"/> array to copy to.</param> /// <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param> public virtual void CopyTo(IAppender[] array, int start) { if (m_count > array.GetUpperBound(0) + 1 - start) { throw new System.ArgumentException("Destination array was not long enough."); } Array.Copy(m_array, 0, array, start, m_count); }