exercism / exercism/csharp-representer
Add dictionary initializers
Open
- Dominant language
- C#
- Stars
- 1
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
There are 2 ways to initialize a dictionary in C#:
- `var dict = new Dictionary{{1, "one"}, {2, "two"}};`
- `var dict = new Dictionary{[1] = "one", [2] = "two"};`
There is no difference except the syntax so they should be normalized.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.