title: C# Detect Key Press, avoid non-typing keys
body: <p>Is there any way to proceed into a method if the key that is being pressed does not result in any typing. i.e. the shift key, control key etc without having to specify all of them. Ideally, to detect combinations of keys, for example Control+V = Paste.</p>
  
  <p>Code similar to below is what I am working with;</p>
  
  <pre><code>    if( (e.KeyData == Keys.Left) 
          || (e.KeyData == Keys.Right) 
          || (e.KeyData == Keys.Home) 
          || (e.KeyData == Keys.End) 
          || (e.KeyData == Keys.Up) 
          || (e.KeyData == Keys.Down)
          || (e.KeyData == Keys.ShiftKey)
          || (e.KeyData == Keys.ControlKey)
          ) return;
  </code></pre>
  
  <p>But don't want to add every single combination of keypresses.</p>
  
  <p>Any ideas?</p>