HashCode.ToHashCode Method

Definition

Calculates the final hash code after consecutive Add invocations.

public int ToHashCode ();

Returns

The calculated hash code.

Remarks

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

Applies to

Produto Versões
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.0 (package-provided), 2.1