Open gagnedavid25 opened 3 years ago
IEquatable
was introduced to improve performance by avoiding boxing/unboxing of value types. Since ValueObject
is a class and not a struct, there is no need for the the additional interface implementation. I'm not opposed to adding this, though, just for the completeness sake.
Thanks for the answer!
The microsoft
IEquatable<T>
docs stated: