How to use Global Using Directives in .NET 6

A new feature that can help reduce the amount of repetitive code across your entire project

Jamie Burns

--

Photo by Arpit Rastogi on Unsplash

If you’ve written anything in C#, you’ll have come across Using Directives.

By using them (no pun intended) you can reference types within that namespace, without having to fully qualify the type name.

--

--

Jamie Burns

Software Engineer, founder of Bungalow64 Technologies