Global using directive
Changes in new versions / C# 10.0
Parameterless struct constructors
"with" expressions for structures
File-scoped namespaces
Sealed ToString in records
Constant interpolated strings
Nested property patterns
Global using directive
global
using
System
.
Threading
;
This
innovation allows the
using
directive to be used project-wide. To
do
this
, add the keyword
global
before the
using
phrase.