Share via


Byte.HashCode(SByte) Method

Definition

Returns a hash code for a byte value; compatible with Byte.hashCode().

[Android.Runtime.Register("hashCode", "(B)I", "", ApiSince=24)]
public static int HashCode (sbyte value);
[<Android.Runtime.Register("hashCode", "(B)I", "", ApiSince=24)>]
static member HashCode : sbyte -> int

Parameters

value
SByte

the value to hash

Returns

a hash code value for a byte value.

Attributes

Remarks

Returns a hash code for a byte value; compatible with Byte.hashCode().

Added in 1.8.

Java documentation for java.lang.Byte.hashCode(byte).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to