Пример #1
0
 public override string ToString() => HasTwoKeyInputs ? $"{KeyInput1}, {KeyInput2}" : KeyInput1.ToString();
Пример #2
0
 public override int GetHashCode() => KeyInput1.GetHashCode() ^ KeyInput2.GetHashCode();