C# 版本支持单声道

C# version support for mono

据我所知,mono 支持 C# 8(以及所有其他以前的版本),但 mono 项目的官方 page 说最新版本是 C# 7,它的实现甚至是部分的,所以发生的事情是单声道的网站不同步,或者我对 C# 的单声道编译器实现有误解?

.NET Core 3.x 和 .NET Standard 2.1 支持 C# 8.0。[1] Mono 6.4+ has partial support for the latter in that it apparently can load and run .NET Standard 2.1 code without an issue, but since a library targeting Standard 2.1 can normally only be referenced by other 2.1 libraries or a .NET Core 3+ executable, writing an application for Mono that can actually utilize .NET Standard 2.1 requires you to invoke the C# compiler manually.[2]

我的 个人 猜测是,由于对 .NET Standard 2.1(以及扩展 C# 8)的支持非常有限,他们没有费心将它包含在官方文档中.

1 C# language versioning - C# Guide | Microsoft Docs

2 Clarify how to use .NET Standard 2.1 from Mono · Issue #1689 · dotnet/standard · GitHub


作为旁注,他们的 Compatibility page seems to indicate that C# 7 is fully supported. If you'd like a proper answer as to why the two pages differ, I suggest you ask a question on their Issue tracker.