Add more derived interfaces to Linq #112491
Unanswered
zms9110750
asked this question in
Ideas
Replies: 1 comment
-
There won't by other unique interface, because LINQ uses its internal types for optimization, which is not a stable API. The usage of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After sorting, you will get the
IOrderdEnumerable
,He has a special method called 'ThenBy' for subsequent sorting.
Because such subsequent sorting may have any number of times,
So we have this interface and method,
And it cannot be completed through method overloading.
But I think creating more unique interfaces and methods would be better.
For example, the
GroupBy
method can select the internal elements after the grouping is completed.ToLookup
method has a similar effect but does not have such overloading.SelectMany
instead ofSelect
for internal elements?Beta Was this translation helpful? Give feedback.
All reactions