/ Published in: C#
SequenceEqual
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// SequenceEqual Debug.Assert( myArray1.SequenceEqual(myArray2)); // GetHashCode // Note, there's a one in 4,294,967,295 chance that this will provide a false equals // http://mikehadlow.blogspot.com/2006/11/using-memorystream-and-binaryformatter.html Debug.Assert( this.GetHashCode() == that.GetHashCode() );