C# language feature:

  • A note for CSharp 6 and beyond

applies to

  • using CSharp 6 language features

how to use

  • CSharp 6 language features require a compiler/ide equivalent to Visual Studio 2015 or later.

note

  • Generally, older versions of Visual Studio will indicate syntax errors, won’t compile, etc when attempting to use newer language features. Some features depend on NuGet packages.

example:

        // not applicable