public bool DataEquals(MyClass other)
 {
     return(MyProperty.Equals(other.MyProperty));
 }