What exactly does this mean in C#? -
i'm browsing open source .net twain wrapper , saw this:
[flags] internal enum twdg : short { // dg_..... control = 0x0001, image = 0x0002, audio = 0x0004 }
what 'flag' decorator mean? (is called 'decorator'?)
also, short mean @ end of enum declaration?
thanks!
short keyword system.int16, two-byte integer ranging -32,768 32,767. default, enum's base type int; in case, they're attempting use smaller data type store enumerator values.
Comments
Post a Comment