Ejemplo n.º 1
0
 void Inicialization(T val)
 {
     first = new NodoPractica <T>();
     last  = new NodoPractica <T>();
     first.SetValue(val);
     last = first;
 }
Ejemplo n.º 2
0
    public void SetChild(T newChildren)
    {
        NodoPractica <T> newNode = new NodoPractica <T>();

        newNode.SetValue(newChildren);
        next = newNode;
    }