How to upgrade C# from v7.3 to v8.0 in Visual Studio Community 2022?

longevity uyl 285 Reputation points
2024-01-19T02:36:01.45+00:00

Visual Studio Community 2022 complains Can't use using in C# V7.3. How to upgrade C# from v7.3 to v8.0 in Visual Studio Community 2022?

Developer technologies | Visual Studio | Other
Developer technologies | C#
{count} votes

Accepted answer
  1. Anonymous
    2024-01-19T03:01:11.8766667+00:00

    Hi @longevity uyl , Welcome to Microsoft Q&A,

    You need to be in . Net core 3.x or later is required to use C# 8.0.

    For more information, please refer to:C# language versioning

    User's image

    Best Regards,

    Jiale


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.