public int CalcSumPos() { var result = Sents.Sum(sent => sent.SumPos); foreach (var child in Children) { result += child.CalcSumPos(); } return(result); }