Using, using, using with C# 8

added by DotNetKicks
4/9/2019 10:19:19 AM

2 Kicks, 268 Views

C# has different meanings for the using keyword. One is the using directive to import types from namespaces, and to create aliases to types. The second meaning is the using statement as a convenient syntax on using the IDisposable interface. With C# 6, also the using static directive was added to allow accessing static class...