如何获得的数据类型的范围在C#? [英] How to get range of data types in c#?

查看:124
本文介绍了如何获得的数据类型的范围在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 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆