First of all equality is difficult to define and only you can define as to what equality means for you
- Does it means members have same value
- Or they are pointing to same location.
Here is a discussion and an answer here
What is "Best Practice" For Comparing Two Instances of a Reference Type?