Replies: 2 comments 6 replies
-
have I understood correctly from the point on collection literals extension methods that for now the below is true? we won't be able to do: var a = [1, 2, 3].AsImmutableArray(); but we will be able to do: var a = AsImmutableArray([1, 2, 3]) assuming we have a function like: public static ImmutableArray<T> AsImmutableArray<T>(this ImmutableArray<T> array) {
return array;
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
Will non-copy initialization of ImmutableArray still be supported in this release? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-07-12.md
Agenda
Create
methodsBeta Was this translation helpful? Give feedback.
All reactions