[Proposal] Sometimes a collection initializer can be enough
Open
- Dominant language
- No language data
- Stars
- 328
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
Suppose we have this code:
```VB.NET
Call Foo(
New List(Of Integer) From {1, 2},
New List(Of String) From {"x", "y"}
)
```
Wouldn't it be nice if we just rewrite it as:
```VB.NET
Call Foo(From {1, 2}, From {"x", "y"})
```
and the compiler infers the type from the param [or var] types, so it can lower the second compact form to the first verbose form?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.