Skip to content

Commit 0e89a85

Browse files
authored
Changed "hashes" to "hash codes".
1 parent 16f843a commit 0e89a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/String.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5178,7 +5178,7 @@ index[,alignment][ :formatString] }
51785178
> [!IMPORTANT]
51795179
> If two string objects are equal, the <xref:System.String.GetHashCode%2A> method returns identical values. However, there is not a unique hash code value for each unique string value. Different strings can return the same hash code.
51805180
>
5181-
> The hash code itself is not guaranteed to be stable. Hash codes for identical strings can differ across versions of the .NET Framework and across platforms (such as 32-bit and 64-bit) for a single version of the .NET Framework. In some cases, they can even differ by application domain. This implies two subsequent runs of the same program will return different hashes.
5181+
> The hash code itself is not guaranteed to be stable. Hash codes for identical strings can differ across versions of the .NET Framework and across platforms (such as 32-bit and 64-bit) for a single version of the .NET Framework. In some cases, they can even differ by application domain. This implies two subsequent runs of the same program may return different hash codes.
51825182
>
51835183
> As a result, hash codes should never be used outside of the application domain in which they were created, they should never be used as key fields in a collection, and they should never be persisted.
51845184
>

0 commit comments

Comments
 (0)