dotnet / dotnet/vblang

Make the Optional keyword optional

Open
#174 15 comments 10 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

_just porting my old vb.net suggestions from uservoice_

Please allow
```
Private Sub Test(s As String = 1)
```
as in C# besides the current version:
```
Private Sub Test(Optional s As String = 1)
```
This removes redundancies (--> improves readability, accelerates writing code) and drives forward the co-evolution of VB/C#. I don't see any reason not to allow this.

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.