Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

GetHashCode

virtual override func GetHashCode() -> int

Declaring type: ConsoleKeyInfo
Module: System
Assembly: System.Runtime.dll
Source file: ConsoleKeyReader.rvn

Overrides Object.GetHashCode

Returns a hash consistent with value equality across all fields and the active TextScalar case.

Return value

Int32

Remarks

None, Some(0), and an uninitialized Optional are distinct values. Hashes are not persistent identifiers.