I\'ve been reading about overloading true and false in C#, and I think I understand the basic difference between this and defining a bool operator. The example I see around is
As the docs say, overloading true
and false
is intended to support (nullable) database-types (Yes/No, Y/N, 0/1, etc).
And of course you can define them inconsistently, as with any operator. It is your responsibility to return something sensible. The compiler goes no further than requiring neither or both.