如何获得的数据类型的范围在C#? [英] How to get range of data types in c#?
问题描述
如何获得的数据类型的范围在C锋利的.NET?例如,如果我希望得到UINT数据类型的范围,我怎样才能得到它通过代码?
How to get range of data types in c sharp .net ? For example if I wish to get range of uint datatype, how can I get it through code ?
推荐答案
请参阅此示例参考 - >
Please see this sample reference -->
-
UInt64.MinValue场 - 表示UINT64的最小可能值。这个字段是不变的。 MSDN链接 - http://msdn.microsoft.com/en-美国/库/ system.uint64.minvalue.aspx
UInt64.MinValue Field - Represents the smallest possible value of UInt64. This field is constant. MSDN Link - http://msdn.microsoft.com/en-us/library/system.uint64.minvalue.aspx
UInt64.MaxValue场 - 表示最大的可能值UINT64的。这个字段是不变的。
MSDN链接 - http://msdn.microsoft。 COM / EN-US /库/ system.uint64.maxvalue.aspx
UInt64.MaxValue Field - Represents the largest possible value of UInt64. This field is constant. MSDN Link - http://msdn.microsoft.com/en-us/library/system.uint64.maxvalue.aspx
这篇关于如何获得的数据类型的范围在C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!