Extend Generic math to enums #5093
Unanswered
shadow-cs
asked this question in
Language Ideas
Replies: 2 comments 4 replies
-
Why |
Beta Was this translation helpful? Give feedback.
1 reply
-
I asked at dotnet/runtime#112819 about having the runtime automatically implement |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Regarding the recent availability of Generic math preview, it would make sense we also add something along the lines of
IEnum
which would implementIConvertible<long>
(which itself was described as a possible future improvement of generic math in the announcement) as well asI{Span}Parseable
(and possibly others) and implementIEnum
inEnum
base type.This would further enhance the #104.
Beta Was this translation helpful? Give feedback.
All reactions