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

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