public LinkedListEnum(LinkedList <T> linkedList) { _list = linkedList; _data = _list.Head; }
public void Reset() { _data = _list.Head; }
public void Dispose() { Data = default; Next = null; GC.SuppressFinalize(this); }
public bool MoveNext() { _data = _data.Next; return(_data != null); }
public LinkedNode() { Data = default; Next = null; }