I\'ve looked for overriding guidelines for structs, but all I can find is for classes.
At first I thought I wouldn\'t have to check to see if the passed object was n
struct MyStruct { public override bool Equals(object obj) { if (!(obj is MyStruct)) return false; MyStruct mys = (MyStruct) obj; // compare elements here } }