dotnet / dotnet/csharplang

Champion "Non-trailing named arguments" (C# 7.2, VB 15.5)

Open
#570 2 comments 30 reactions 1 assignee Claimed by @jcouv View on GitHub
Implemented Needs ECMA Spec Proposal champion
Dominant language
C#
Stars
12.7k
Forks
1.1k
Avg merge
11h 1m
Merged PRs (30d)
3

Description

## Summary
Allow named arguments to be used in non-trailing position, as long as they are used in their correct position. For example: `DoSomething(isEmployed:true, name, age);`.

- [x] Proposal added (https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.2/non-trailing-named-arguments.md)
- [x] Discussed in LDM
- [x] Decision in LDM
- [x] Finalized (**done**, rejected, inactive)
- [ ] Spec'ed

Relates to discussion https://github.com/dotnet/csharplang/issues/518
Discussed in [LDM 2017-05-16](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-05-16.md)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.