Auto-implemented Property with Identified backing Field
- Dominant language
- No language data
- Stars
- 328
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
While I'm writing this property:
```
Public Property NewYork() As Integer
Get
Return Me("NewYork")
End Get
Set
Me("NewYork") = Value
End Set
End Property
```
I asked myself: Why can't it be auto-implemented?
So, could it be like this:
`Public Property NewYork(Me("NewYork")) As Integer`
Or like this:
`Public Property NewYork() As Integer {Me("NewYork")}`
This is not only for dictionary keys. It's general for any property that uses an existing object instead of a backing filed
`Public Property Prop1(Storage) As Integer`
Or:
`Public Property Prop1() As Integer {Storage}`
I hope to hear other syntax suggestions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.