示例#1
0
    /// <summary>
    /// 把list接在End后面,清空list
    /// </summary>
    /// <param name="list"></param>
    public void AddEndAfter(UtilList <T> list)
    {
        End.Next            = list.First;
        list.First.Previous = End;

        list.End.Next  = Trail;
        Trail.Previous = list.End;

        list.Clear();
    }