Collection Literals: No target type? #7511
-
Is this supposed to work when collection literals are officially released?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
LDM Jul 12 decided not to pursue extension methods specifically for collection expressions for now, but rather for a wider set of expressions including lambda expressions, to be explored for C# 13: https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-07-12.md#extension-methods |
Beta Was this translation helpful? Give feedback.
-
Hope this gets added in C# 13. I was suprised when I found out I couldn't chain my collection expressions with |
Beta Was this translation helpful? Give feedback.
LDM Jul 12 decided not to pursue extension methods specifically for collection expressions for now, but rather for a wider set of expressions including lambda expressions, to be explored for C# 13: https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-07-12.md#extension-methods