Programming is like sex, one mistake and you have to support it for the rest of your life. --Michael Sinz
Log In
Providing Microsoft .NET Articles and Code Samples since 2002
Home
→
Categories
→
language elements - enums
Home
Search
Articles
Categories
About
Welcome to my blog and project site for Microsoft.NET development.
I've been a full time .NET developer for ten years, but I didn't start my professional life as a programmer ...
more
Share/Print this page:
Category: Enums
language elements
enums
[Articles: 2]
Sort:
Most Recent
Updated
Author
Pages
Views Today
Total Views
Convert Integer To Enum Instance in C#
By
steve
on
January 09, 2007
. | Updated on
January 01, 2012
. |
223,944
views,
103
today. |
1
page.
■
.NET
■
C#
■
Conversions
■
Enums
■
Snippet
Sample C# code showing how to convert an integer to an instance of an enumeration.
Convert String to Enum Instance
By
steve
on
January 09, 2007
. | Updated on
January 15, 2012
. |
186,699
views,
236
today. |
1
page.
■
.NET
■
C#
■
Conversions
■
Enums
■
Snippet
■
Text and Strings
C# code sample showing how to convert a string to an instance of an enumeration.