Last active
June 11, 2016 23:29
-
-
Save JayBazuzi/4ae17ec794f49665844e3b3e01614867 to your computer and use it in GitHub Desktop.
This file contains 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 Point | |
{ | |
override bool Equals(object other) | |
{ | |
return this.X == ((Point)other).X && this.Y == ((Point)other).Y; | |
} | |
} | |
new Point(...).Equals(new Bar(...)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment