public Node(T value, Node<T> next)
public void SetValue(T value)
public void SetNext(Node<T> next)
return this.next != null;
public override string ToString()
public static void Add(Node<int>n)
pos.SetNext(new Node<int>(pos.GetValue(),pos.GetNext()));
pos= pos.GetNext().GetNext();