Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[C# 13]: New Feature - Params collections #40005

Closed
@BillWagner

Description

@BillWagner

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 theparams modifier. Other collection types are now allowed:Span<T>,ReadOnlySpan<T>,IEnumerable<T>, and others.

Areas affected

  • Add to What's new in C# 13: Add links to updated docs in the What's new in C# 13 article.
  • Update language reference: Detail the areas in the language reference that will be updated for this feature.
  • Update compiler messages: Add new (or updated) pages for new compiler messages. Include related message.
  • Include inEveryday C# section*: Is this new feature included in Everyday C#?
  • Tutorials: Are new tutorials required for this feature? If so, detail below

Language reference tasks

The page on theparams keyword should be updated to include other items.

Tutorial tasks

No response

Everyday C# tasks

Add the newparams 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

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp