コード例 #1
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(StateValue.ToString().GetHashCode());
 }
コード例 #2
0
ファイル: State.cs プロジェクト: YvensFaos/TinyBASIC_IDE
 public override string ToString()
 {
     return("State:[ " + StateValue.ToString() + " , " + IsFinal.ToString() + " ]");
 }