public void AddItem(T item)
 {
     list = new LinkGen <T>(item, list);
 }
 public void Copy(LinkListGen <T> list2)
 {
     list = null;
     Concat(list2);
 }
示例#3
0
 public LinkGen(T item, LinkGen <T> list)
 {
     Data = item;
     Next = list;
 }