public KeyChord(KeyPress root, KeyPress second) { this.First = root; this.Second = second; }
public static bool Equal(KeyPress first, KeyPress second) { return((first?.GetHashCode() ?? 0) == (second?.GetHashCode() ?? 0)); }