© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
❔ How do I cast a byte to an enum MyEnum : byte - 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
public enum MyEnum : byte
and I want to cast
byte?
byte?
to the enum
. How do I do that
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How do I cast my enum to a list of custom object?
C
C# / help
2y ago
❔ How do I display an enum in a DataGridComboBoxColumn?
C
C# / help
3y ago
❔ How Would I extract a single byte from an int
C
C# / help
4y ago