"It's possible to overload [== and !=] such that they return a non-bool type, but this is almost never done in practice."
-C# in a Nutshell
#csharp
@peterdrake I override == so it returns a string that says "Yes this is equals" or "No this is not equals", but override != to return "Please use the == operator instead thanks"... I amt he helpful programmer :)
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@peterdrake I override == so it returns a string that says "Yes this is equals" or "No this is not equals", but override != to return "Please use the == operator instead thanks"... I amt he helpful programmer :)