Exemple #1
0
 public LinkedList(LinkedListItem <T> element)
 {
     this.FirstValue = element;
     this.LastValue  = element;
 }
Exemple #2
0
 public LinkedListItem(T value, LinkedListItem <T> nextItem)
     : this(value)
 {
     this.NextItem = nextItem;
 }
Exemple #3
0
 public void AddToFront(LinkedListItem <T> element)
 {
     element.NextItem = this.FirstValue;
     this.FirstValue  = element;
 }