public bool IsAncestor(TreePath other) { if (this.Value == other.Value) return true; return this.Parts.Length < other.Parts.Length && Compare(this.Parts, other.Parts, this.Parts.Length); }