Archive for November 2nd, 2007

Assign Multiple Enum values to one variable.

I saw this question and immediately thought, “You can’t!  An Enum is an Integer that has been restricted to the values it can accept.”

And I was basically right.  But, I forgot that even with an integer you can do the following in CSharp:

(more…)

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Friday, November 2nd, 2007