C# 10: File-Scoped Namespaces

Vertical whitespace is valuable. The “block-scoped” namespace syntax indents every single class in your project, wasting 4 spaces of indentation. C# 10 introduces File-Scoped namespaces to reclaim that space. Comparison Key Takeaways Use `dotnet format` or IDE cleanup to convert your entire solution automatically. You cannot mix file-scoped and block-scoped namespaces in the same file.

Read more β†’

GitHub Copilot: The AI Revolution in Code

GitHub Copilot has officially entered Technical Preview. Having used it for a month, my workflow has fundamentally changed. It is not just autocomplete; it is idea generation. Context Awareness Copilot reads your open tabs. If I have a `User.cs` file open and I start writing a SQL query in `UserRepository.cs`, it correctly infers the column […]

Read more β†’
Posted in Uncategorized

.NET MAUI: The Project Reunion

.NET MAUI (Multi-platform App UI) is the evolution of Xamarin.Forms. It introduces a single-project structure to target Android, iOS, macOS, and Windows. Single Project Structure No more `App.Android`, `App.iOS` projects. Resources (Images, Fonts) are shared automatically. The Handler Architecture MAUI ditches Renderers (slow, tightly coupled) for **Handlers**, which map virtual controls to native controls more […]

Read more β†’

Windows 11 for Developers: WSLg

Windows 11 brings WSLg (Windows Subsystem for Linux GUI). You can now run Linux GUI apps (GEdit, IntelliJ, Cypress) directly on Windows. Architecture WSLg launches a companion system distro containing a Wayland server. It uses RDPRAIL to project the Linux window onto the Windows desktop. Sound and microphone work out of the box.

Read more β†’
Posted in Uncategorized