concept operator overload in category c#

This is an excerpt from Manning's book Code like a Pro in C#.
We overrode and implemented the
GetHashCodemethod, so now it is time to do the same for theEqualsmethod. Before we do that, let’s settle on what things need to be equal to say thatCustomerinstance X is “equal” toCustomerInstance Y? TheCustomerclass does not have a lot of properties to check for: onlyCustomerIdandNameare usable. TheBookingfield is a collection representing any foreign key constraints on theCustomermodel. But, for our congruence check, those are not very relevant, so we don’t use the collection in our check. If Customer X has the sameNameandCustomerIdproperty values asCustomerY, they are equal (and so, we return aboolset to true out of theEqualsmethod).