Documentation

Unity Engine

Download Unity

Unity Engine

GetHashCode()

Returns a hash code of this string.
Read time 1 minuteLast updated a month 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.