"In your project file make sure the language version is set to preview since switch expressions are a new C# 8.0 feature." There's also a convert if statements to switch statements or switch ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果
反馈