¡@

Home 

c# Programming Glossary: keymodifierset

Detect if any key is pressed in C# (not A, B, but any)

http://stackoverflow.com/questions/1752494/detect-if-any-key-is-pressed-in-c-sharp-not-a-b-but-any

So long for anyone who cares here some code public class KeyModifierSet internal readonly HashSet Key Keys new HashSet Key internal.. override bool Equals object obj return Equals obj as KeyModifierSet public bool Equals KeyModifierSet other Check for null if ReferenceEquals.. return Equals obj as KeyModifierSet public bool Equals KeyModifierSet other Check for null if ReferenceEquals other null return false..