Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default The New C# File Template to File-Scoped Namespace #44852

Open
maroonedsia opened this issue Nov 13, 2024 · 0 comments
Open

Default The New C# File Template to File-Scoped Namespace #44852

maroonedsia opened this issue Nov 13, 2024 · 0 comments
Labels
Area-WebSDK untriaged Request triage from a team member

Comments

@maroonedsia
Copy link

maroonedsia commented Nov 13, 2024

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-WebSDK untriaged Request triage from a team member labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-WebSDK untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant