Difference between revisions of "Dice/RollResult/GetHashCode"

From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.GetHashCode Method ()}} Gets a hash code for the RollResult. Overridden from Object.GetHashCode(). {{ns}} == Syntax == <syntaxhighlight lang="C#"> public...")
 
(No difference)

Latest revision as of 22:49, 24 April 2017

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.