This is an easy but recurrent question that I end searching on Google from time to time. So to adhere to this blog's
motto and not searching it again here's the solution:
Enum.GetValues(typeof(SomeEnum)).Cast();
(The original solution thread at
stackoverflow)
No comments:
Post a Comment