IEqualityCompar er
@whosaidwhat, you need to supply a comparer to the Dictionary constructor.
http://msdn.microsoft.com/en-us/library/xfhwa508.aspx
It's recommended that you extend EqualityCompare r rather than implement the IEqualityCompar er interface.
Basically you need to override the Equals and GetHashCode methods.
Here's an example of IEqualityCompar er<byte[]>...
Leave a comment: