'char'不包含'MinValue'的定义

问题描述 投票:0回答:1

我正在使用Visual Studio 2015 .NET Framework 4.7.2。并且我尝试从MinValue访问char,但收到一条错误消息说没有定义。

https://docs.microsoft.com/en-us/dotnet/api/system.char.minvalue?view=netframework-4.7.2

我的项目没有构建错误,我包含了using System。如何纠正此错误?

enter image description here

c# visual-studio-2015 char .net-4.7.2
1个回答
0
投票

虽然我以前已经安装了.NET 4.7.2的开发人员包,但它肯定已经损坏。我re-downloaded开发人员包并进行了维修,将其修复。

© www.soinside.com 2019 - 2024. All rights reserved.