Follow

"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

@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 :)

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.