public void Reset() { current = Head; }
public MyItem(T data) { Data = data; Next = null; }
public MyEnumerator(MyLinkedList <T> linkedList) { Head = new MyItem <T>(); Head.Next = linkedList.Head; current = this.Head; }
public MyItem() { Data = default(T); Next = null; }