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