Exemple #1
0
 public DoubleLinkedList()
 {
     Length = 0;
     _root  = null;
     _tail  = null;
 }
Exemple #2
0
 public DoubleLinkedList(int value)
 {
     Length = 1;
     _root  = new DNode(value);
     _tail  = _root;
 }
Exemple #3
0
 public DNode(int value)
 {
     Value    = value;
     Next     = null;
     Previous = null;
 }