英語で読む 編集

次の方法で共有


HashCode.ToHashCode Method

Definition

Calculates the final hash code after consecutive Add invocations.

C#
public int ToHashCode();

Returns

The calculated hash code.

Remarks

This method must be called at most once per instance of HashCode.

Applies to

製品 バージョン
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1