public override bool Equals(object obj) { if (obj == null) return false; if (obj == this) return true; var o = obj as DataCollectitem; return o != null && Itemid.Equals(o.Itemid) && Count.Equals(o.Count); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } var o = obj as DataLootitem; return(o != null && Lootid.Equals(o.Lootid) && Itemid.Equals(o.Itemid)); }