// ============================================================================= // List Methods // ============================================================================= public void Remove() { if (list != null) { list.Remove(this); } }
public void Append(DLinkedList <T> other) { Debug.Assert(other != null); while (other.Count > 0) { var first = other.First; other.Remove(first); AddLast(first); } }