Example #1
0
 public void Add(int value)
 {
     if (_head == null)
     {
         _head = new BTLink(value);
     }
     else
     {
         AddTo(_head.Value, value);
     }
     Size++;
 }
 public void Add(int value)
 {
     if (_head == null)
     {
         _head = new BTLink(value);
     }
     else
     {
         AddTo(_head.Value, value);
     }
     Size++;
 }
 public void Clear()
 {
     _head = null;
     Size = 0;
 }
Example #4
0
 public void Clear()
 {
     _head = null;
     Size  = 0;
 }