How can I use C# 8 with Visual Studio 2017?

后端 未结 5 1979
你的背包
你的背包 2020-12-05 09:38

I\'d like to use C# 8.0 (especially ranges and non-nullable reference types) in Visual Studio 2017. Is it possible?

5条回答
  •  长情又很酷
    2020-12-05 10:25

    So the current info is:

    • Visual Studio 2019 has been released; it's no longer in preview.
    • C# 8 is still in preview (source).
    • The C# 8 beta compiler is available with Visual Studio 2019, or the latest .NET Core 3.0 preview. (source)

    From this, I deduce that C# 8 is currently not available in VS2017, and that there are no plans to change that.

提交回复
热议问题