Answers for "how to convert int value to enum in c#"

C#
1

cast int to enum type c#

YourEnum foo = (YourEnum)yourInt;
Posted by: Guest on August-20-2021

C# Answers by Framework

Browse Popular Code Answers by Language