public void Open(T value) { var v = new Arbre <T>(Current, value); Current.Add(v); Current = v; }
public void Close() { Current = Current.Parent; }
public Arbre(Arbre <T> parent, T value) { Parent = parent; Value = value; }