Replies: 3 comments 3 replies
-
I think this is a runtime request, not a C# request. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@tannergooding if you feel this is worthwhile. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Intuitively an enum type can be used as the type
T
in the following code, but exactly not.Of course we know that we can not explicitly implement any interface on an enum type, but obviously enum types implement the
IBitwiseOperators
interface naturally.More code is here:
Beta Was this translation helpful? Give feedback.
All reactions