Skip to content
Discussion options

You must be logged in to vote

The [] syntax is a new feature from C# 12. See #5354
And the reason why vs raises the suggestion, it may be related to microsoft/vscode-dotnettools#419. If the project built with no error, that's not a bug because there's a preview version sdk in your machine for sure. If not, that's what confused me about the langVersion and SDKs.

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ccarlo88
Comment options

You must be logged in to vote
12 replies
@tannergooding
Comment options

@ccarlo88
Comment options

@HaloFour
Comment options

@jnm2
Comment options

jnm2 Oct 23, 2023
Collaborator

@CyrusNajmabadi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@huoyaoyuan
Comment options

@KennethHoff
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
8 participants