Example #1
0
 public LinkGen(T item)
 {
     data = item;
     next = null;
 }
Example #2
0
 public LinkGen(T item, LinkGen <T> list)
 {
     data = item;
     next = list;
 }
Example #3
0
 public void AddItem(T item)
 {
     list = new LinkGen <T>(item, list);
 }