ILT – How to convert string to enum in C#

15-08-2012 How to convert a value to an enum? How to find the matching enum value? Convert object to enum? How to use Enum.Parse method? Solution: Use the Enum.Parse method as shown below to convert your value to the appropriate enumerator type. Enum declaration – for explanation Actual casting Menol ILT