<my******@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi,
In C++, I could create an enum like this:
enum Position
{
Quarterback = 'QB',
LeftCornerback = 'LCB',
RightOutsideLinebacker = 'ROLB'
}
The multiple character constants get packed into an integer. Up to 4
characters are put in the integer, one per nibble.
Can this be done in C#? If so, is it officially supported?
Thanks,
Mike
Well, how do you represent a full one-byte character in a single nibble?
Would you place each ASCII character value (0-127) into the nibble? AFAIK,
without some development effort and creating your own class, you can't. At
least with enums you can't.
But that is AFAIK....
Mythran