You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dictionary and array initializers should be following similar rules to object initializers for when they break
// breaks if there are more than 2 propertiesvarthing=newThing{One="",Two="",Three=""};// these should all probably be breaking, the nested { make it hard to read even in the last examplevardictionaryInitializer=newDictionary<int,string>{{1,""},{2,"a"},{3,"b"}};int[,,]cube={{{111,112},{121,122}},{{211,212},{221,222}}};int[][]jagged={{111},{121,122}};
The text was updated successfully, but these errors were encountered:
Dictionary and array initializers should be following similar rules to object initializers for when they break
The text was updated successfully, but these errors were encountered: