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

chore: converts client namespaces to file-scoped namespaces #2311

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

Arufonsu
Copy link
Contributor

@Arufonsu Arufonsu commented Jul 7, 2024

Context: File-scoped namespaces were introduced in C# 10.0, which was released as part of .NET 6. This feature allows developers to declare namespaces at the top of a file without enclosing them in a curly brace block, effectively making the namespace applicable to the entire file. Converting namespaces to file-scoped namespaces in C# promotes cleaner, more organized code that is easier to read, maintain, and scale as the project grows. It aligns with modern coding practices and helps prevent potential namespace conflicts, contributing to overall code quality and developer productivity.

@Arufonsu Arufonsu added the chore Cleans up code, documentation or project structure without altering functionality label Jul 7, 2024
@Arufonsu Arufonsu requested a review from a team July 7, 2024 19:03
@WeylonSantana WeylonSantana merged commit e90c528 into main Jul 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Cleans up code, documentation or project structure without altering functionality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants