C#C
C#3y ago
12 replies
Jwan

❔ How do I cast a byte to an enum MyEnum : byte

As the title says really, I have a
public enum MyEnum : byte
and I want to cast
byte?
to the enum. How do I do that? 🤔
Was this page helpful?