Difference between revisions of "Dice/DieResult/GetHashCode"
From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.GetHashCode Method ()}} Gets a hash code for the DieResult. Overridden from Object.GetHashCode(). {{ns}} == Syntax == <syntaxhighlight lang="C#"> public...") |
(No difference)
|
Revision as of 17:53, 25 April 2017
Gets a hash code for the DieResult. 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 DieResults are equal.