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
When I create a new C# file in Visual Studio (I am using Version 17.12.0), the default generated content is still using the traditional namespace scope with curly brackets.
The dotnet new class... is already using the new file-scoped namespace syntax, so I think it's time for Visual Studio to use the modern method and generate the default content with a file-scoped namespace statement.
The text was updated successfully, but these errors were encountered:
When I create a new C# file in Visual Studio (I am using Version 17.12.0), the default generated content is still using the traditional namespace scope with curly brackets.
The
dotnet new class...
is already using the new file-scoped namespace syntax, so I think it's time for Visual Studio to use the modern method and generate the default content with a file-scoped namespace statement.The text was updated successfully, but these errors were encountered: