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
I wanted to send some feedback about the formatting of the new collection expressions. I think it is inconsistent to prefix these with 2 spaces (I'm also not sure why such formatting was selected) when compared to how e.g. collection/object initializers are formatted:
I'm also not sure I agree with the choice to format collection expressions with spaces between the square brackets and the elements but I suppose it's consistent with how collection/object initializers are formatted so I find it harder to argue against. It is worth noting that MSDN formats these without spaces (while formatting collection/object initializers with spaces between the brackets) and the IDE also suggests such formatting though:
The text was updated successfully, but these errors were encountered:
I wanted to send some feedback about the formatting of the new collection expressions. I think it is inconsistent to prefix these with 2 spaces (I'm also not sure why such formatting was selected) when compared to how e.g. collection/object initializers are formatted:
I'm also not sure I agree with the choice to format collection expressions with spaces between the square brackets and the elements but I suppose it's consistent with how collection/object initializers are formatted so I find it harder to argue against. It is worth noting that MSDN formats these without spaces (while formatting collection/object initializers with spaces between the brackets) and the IDE also suggests such formatting though:
The text was updated successfully, but these errors were encountered: