public bool Equals(ComplexTypeCaching_TypeTwo other) { if (other == null) { return(false); } return(ExampleString == other.ExampleString && ArrayOfObjects.SequenceEqual(other.ArrayOfObjects) && DictionaryOfNumbers.SequenceEqual(other.DictionaryOfNumbers)); }
public override int GetHashCode() { return(ExampleString.GetHashCode() ^ ArrayOfObjects.GetHashCode() ^ DictionaryOfNumbers.GetHashCode()); }