Documentation

Unity Engine

Unity Engine

GetHashCode()

Returns a hash code of this string.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public override int GetHashCode()

Returns

Type

Description

intA hash code of this string.

Remarks

The hash code is an integer that is always the same for two equal strings but (very likely) different for two unequal strings.