< Dice‎ | RollResult
Revision as of 22:49, 24 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|RollResult.GetHashCode Method ()}} Gets a hash code for the RollResult. Overridden from Object.GetHashCode(). {{ns}} == Syntax == <syntaxhighlight lang="C#"> public...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.