public void AddHead(T t)
    {
        LinkedlistNode node = new LinkedlistNode(t);

        node.Next = head;
        head      = node;
    }
    public IEnumerator <T> GetEnumerator()
    {
        LinkedlistNode current = head;

        while (current != null)
        {
            yield return(current.Item);

            current = current.Next;
        }
    }
 public GenericsLinkedList()
 {
     head = null;
 }
 public LinkedlistNode(T t)
 {
     next = null;
     item = t;
 }