Skip to content

Commit

Permalink
Fix equality example output comment (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
demoded authored Mar 19, 2024
1 parent 438cf30 commit b4d0816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language/equality.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var b = new Point(1, 2);
var c = a;
Console.WriteLine(a == b); // (1) True
Console.WriteLine(a.Equals(b)); // (1) True
Console.WriteLine(a.Equals(new Point(2, 2))); // (1) True
Console.WriteLine(a.Equals(new Point(2, 2))); // (1) False
Console.WriteLine(ReferenceEquals(a, b)); // (2) False
Console.WriteLine(ReferenceEquals(a, c)); // (2) True
Expand Down

0 comments on commit b4d0816

Please sign in to comment.