Tag: enum

Casting int to enum in C#

Casting int to enum in C#

Sometimes you might come up with this, and the solution is simpler than what we thing The first way is YourEnum foo = (YourEnum)yourInt; If [...]
1 / 1 POSTS