Ejemplo n.º 1
0
        // =============================================================================
        // List Methods
        // =============================================================================

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