// override object.GetHashCode public override int GetHashCode() { return(dir.GetHashCode() * 1000 + key.GetHashCode()); }