There has always been that one unnecessary level of indentation in C# files. Now, with .NET 6 and C# 10 you can get rid of it! With file scoped namespaces you can remove the extra indentation and make your code more readable.
💝 Join this channel to get access to perks:
[ Ссылка ]
Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
🛑 Don't forget to subscribe to my channel for more amazing content: [ Ссылка ]
⏱ Timestamps
00:00 - File-Scoped Namespaces in C# 10
00:06 - What Are Namespaces?
00:22 - Apply File-Scoped Namespaces in VS2022
🐦 Follow me on Twitter: [ Ссылка ]
🤝 Join the Discord server: [ Ссылка ]
🎥 Video edited with Camtasia (ref): [ Ссылка ]
🙋♂️ Also find my...
Twitter: [ Ссылка ]
Blog: [ Ссылка ]
Twitch: [ Ссылка ]
All the rest: [ Ссылка ]
#dotnet6 #implicitusings #csharp #visualstudio #shorts
Ещё видео!