public bool Equals(Key other) { return Value == other.Value; } public override int GetHashCode() { return Value; }