C#中的无限整数数据类型 [英] unlimited integer datatype in c#
本文介绍了C#中的无限整数数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我需要C#中的整数数据类型的大小大于长数据类型的大小,如果大小不受限制,则以其为准.
在此先感谢
hi all,
i need integer datatype in C# have size larger than long datatype , its preffered if there is unlimited size.
thanks in advance
推荐答案
您可以尝试 ^ ]
下次,尝试首先使用Google吗?
You could try a BigInteger[^]
Next time, try to google first?
看看 ^ ]类型
Google是您的朋友,BigInteger类型可以处理无限制大小的带符号数字:
http://msdn.microsoft.com/en-us/library/system.numerics. biginteger.aspx [ ^ ]
Google is your friend, the BigInteger type can handle unlimited sized signed numbers:
http://msdn.microsoft.com/en-us/library/system.numerics.biginteger.aspx[^]
这篇关于C#中的无限整数数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文