C# version 8 end of support date is needed.

Sharon Tyson 0 Reputation points
2023-01-11T14:02:24.3166667+00:00

We need to add this as a software component for our applications and cannot without the correct end of support date.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,223 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Cheong00 3,471 Reputation points
    2023-01-12T11:14:58.3866667+00:00
    2 people found this answer helpful.
    0 comments No comments

  2. BillWagner 1 Reputation point Microsoft Employee
    2023-01-12T14:57:21.7666667+00:00

    Hi Sharon,

    There are a few different components involved in the answer.

    As pointed out above, the C# 8 compiler is bundled with the .NET Core 3.1 SDK. It's support cycle ends with .NET Core 3.x.

    But, the question of C# 8 language support is different: The C# compiler can be configured to conform to any previous language version. See this page for details on how to make that configuration option.

    More importantly, the newer versions of the language (and all newer versions of the compiler) do support all the C# 8 language syntax. You can look here and here to see the small list of breaking changes in the language syntax in all versions. They mostly affect edge cases.

    Functionally, C# source code, written to match any version, is supported by any compiler beginning with that version.

    I hope that meets yours needs. If not, can you add why you are targeting C# 8, and I can help detail the components needed that are supported.

    Bill Wagner
    C# / .NET Content

    0 comments No comments