[C# 13]: New Feature - Params collections #40005
Labels
🏁 Release: .NET 9
Work items for the .NET 9 release
doc-idea
Indicates issues that are suggestions for new topics [org][type][category]
dotnet-csharp/svc
Pri1
High priority, do before Pri2 and Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
resolved-by-customer
Indicates issues where the customer no longer needs any help. [org][resolution]
whats-new/subsvc
Visual Studio release
17.10p3
Link to speclet
Link to Pull request
New behavior
This feature relaxes restrictions on the type of parameters declared with the
params
modifier. Other collection types are now allowed:Span<T>
,ReadOnlySpan<T>
,IEnumerable<T>
, and others.Areas affected
Language reference tasks
The page on the
params
keyword should be updated to include other items.Tutorial tasks
No response
Everyday C# tasks
Add the new
params
capability when discussingparams
and the allowed signatures forMain
. (Check the spec to see if Main is affected. Either way, we should make clear what the behavior is).Associated WorkItem - 230100
The text was updated successfully, but these errors were encountered: