public override bool Equals(object other) { Customer customer = other as Customer; if (null == customer) { return false; } return customer.Name.Equals(_name); } }