C# 查看对应数据类型的数值范围
(认知有限,如有不妥,还望告知,欢迎讨论)
sample code:
(emmm虽然挺不好看的。。。)
输出结果:

=END=
=reference=
[1]https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/built-in-types
[2]https://docs.microsoft.com/en-us/dotnet/api/system.int32.maxvalue?view=net-6.0