Difference in optimization between Linq's OfType<T> and Cast<T> #54496
Answered
by
yaakov-h
IAmTheCShark
asked this question in
Q&A
-
I know what theese methods do under the hood. My question is why? Problem is, that those "redundant" OfType-calls wrap every IEnumerable in a |
Beta Was this translation helpful? Give feedback.
Answered by
yaakov-h
Jun 21, 2021
Replies: 0 comments 2 replies
-
This is a question for https://github.com/dotnet/runtime. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
IAmTheCShark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a question for https://github.com/dotnet/runtime.