コード例 #1
0
 public override string ToString() => HasTwoKeyInputs ? $"{KeyInput1}, {KeyInput2}" : KeyInput1.ToString();
コード例 #2
0
 public override int GetHashCode() => KeyInput1.GetHashCode() ^ KeyInput2.GetHashCode();