how to expand flagged enum
<p>I have a key combination like this</p>

<pre><code>Keys key=Keys.Control | Keys.Shift | Keys.D ...
</code></pre>

<p>I don't know how to expand key variable to separated Keys values. Maybe like this</p>

<pre><code>foreach(Keys k in key)
{
   MessageBox.Show(k.ToString());
}
</code></pre>

<p>this seems stupid to me. How to do this?</p>
