What is the largest number of interfaces implemented on a single object in dotnet/runtime
?
#92801
Answered
by
DaZombieKiller
tacosontitan
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
DaZombieKiller
Sep 30, 2023
Replies: 1 comment
-
The answer appears to be |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tacosontitan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer appears to be
double
, at 37 interfaces. Notably though, it's not the only type with this many interfaces (float
is another) -- most of the primitives with support for generic math implement the same number of interfaces or something close to it.