Why must we define both == and != in C#?
I can’t speak for the language designers, but from what I can reason on, it seems like it was intentional, proper design decision. Looking at this basic F# code, you can compile this into a working library. This is legal code for F#, and only overloads the equality operator, not the inequality: module Module1 type … Read more