cast int to enum type csharp
Code Example - cast int to enum type csharp
YourEnum foo = (YourEnum)yourInt;
YourEnum foo = (YourEnum)yourInt;