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