What exactly does this mean in C#?
<p>I'm browsing an open source .NET twain wrapper and saw this:</p>

<pre><code>[Flags]
internal enum TwDG : short
{                                   // DG_.....
    Control = 0x0001,
    Image = 0x0002,
    Audio = 0x0004
}
</code></pre>

<p>What exactly does that 'Flag' decorator mean? (Is it called a 'decorator'?)</p>

<p>Also, what does the short mean at the end of the enum declaration?</p>

<p>Thanks!</p>
