3 ms·
Someone in the comments also mentioned array initializers, arguably a better use of the feature.
by yread 6y ago
Someone in the comments also mentioned array initializers, arguably a better use of the feature.
- nycdotnet 6y agothis specifically. new List<KeyValuePair<string,int>> { new (“a”, 1), new (“b”, 2) } versus having to barf out the type name for every element will be REALLY nice.