RollResult.GetHashCode Method ()

From DiceRoller Documentation

Gets a hash code for the RollResult. Overridden from Object.GetHashCode().

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public override int GetHashCode()

Return Value

Type: System.Int32

The hash code.

Remarks

The hash code is derived from the following fields:

Any field not listed above is not part of the hash code, and thus is not considered when determining whether or not two RollResults are equal.