Programming
Checking Object Equality in C#
If you want to check if one instance of a custom class is equal to another instance of it you need to override the Equals operator for the class and implement your own. The code below is based on the articles The Right Way to do Equality in C# and Read more…