public override bool IsEquivalentTo(TestDto?other) { return(other != null && other.Id == Id && other.Name == Name && ServiceDataUtility.AreEquivalentArrays(other.Children, Children, ServiceDataUtility.AreEquivalentDtos)); }