Does the implementation prevent IEquatable methods from being serialized?

I have an object that I can serialize to XML without issue. However, when I implement IEquatable and override functions, I get an error where XML is not being generated correctly. Has anyone encountered this before?

+1


source to share


1 answer


You may need to override Equals and GetHashCode. See http://www.codeproject.com/KB/dotnet/IEquatable.aspx for details .



+2


source







All Articles