Created
August 14, 2025 07:21
-
-
Save jskeet/67460e1e5131c2e89b1437a975888f51 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test | |
{ | |
static void Main() | |
{ | |
Bogus bogus = null; | |
System.Console.WriteLine(bogus == null); | |
} | |
} | |
class Bogus | |
{ | |
public static bool operator==(Bogus lhs, Bogus rhs) => false; | |
public static bool operator!=(Bogus lhs, Bogus rhs) => true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment