How to

get enum numeric value

Published: 9. October 2011 | Updated: 26. October 2011
License: Microsoft Public License (MS-PL)
Categories: Framework » Enums
Tags: C# Enums
Was this snippet helpful for you? YESYES / NONO
int value = (int)DayOfWeek.Wednesday;
Send us feedback about this snippet »



Related Snippets: