Beispiel #1
0
 public int LeftChildId()
 {
     return((ChildIds.Count() > 0) ? ChildIds[0] : -1);
 }
Beispiel #2
0
 public bool IsLeaf()
 {
     return(!IsRoot() && ChildIds.Count() == 0);
 }