Skip to content

Instantly share code, notes, and snippets.

@markusdybeck
Created June 10, 2020 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markusdybeck/8ae92af46e02cc5430dba1e13d79f6e2 to your computer and use it in GitHub Desktop.
Save markusdybeck/8ae92af46e02cc5430dba1e13d79f6e2 to your computer and use it in GitHub Desktop.
Record equals
var point1 = new Point(0, 3);
var point2 = new Point(0, 3);
var point3 = new Point(3, 0);
point1.equals(point2); // true
point1.equals(point3); // false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment