c# - 在 Windows Phone silvelight 应用程序中使用 BigInteger 需要什么 namespace ?

标签 c# windows-phone silverlight-5.0

我想在我的 Windows Phone silvelight 应用程序中使用 BigInteger。 使用它需要什么命名空间? 为什么不支持 using System.Numerics; 对于 BigInteger,我的代码在这里:

BigInteger n = new BigInteger("19579160939939334264971282204525611731944172893619019759209712156289528980860378672033164235760825723282900348193871051950190013953658941960463089031452404364269503721476236241284015792700835264262839734314564696723261501877759107784604657504350348081273959965406686529089170062268136253938904906635532824296510859016002105655690559115059267476786307037941751235763572931501055146976797606538425089134251611194500570922973015579287289778637105402129208324300035518642730384616767241853993887666288072512402523498267733725021939287517009966986976768028023180137546958580922532786773172365428677544232641888174470601681", 10);

最佳答案

您可以尝试使用 Int128 library来自 CodePlex。

关于c# - 在 Windows Phone silvelight 应用程序中使用 BigInteger 需要什么 namespace ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17295688/

相关文章:

c# - 你如何 PerformClick();对于不同选项卡上的按钮?

windows-phone-7 - 如何覆盖 Windows Phone 应用程序中的相机按钮?

silverlight - 如何使用 Microsoft Silverlight 连接到我的 SQL Azure 数据库?

asp.net - 在打开 Silverlight 项目之前,您需要安装最新的 Silverlight 开发人员运行时

c# - 客户端和服务器端涉及数据库和文件系统的分布式事务算法

c# - 如何使用 Entity Framework 在 2 个或更多表的联合 View 上保存更改?

c# - 异常 HRESULT : 0x800455BC in speech recognition in Windows phone 8

asp.net - 是否可以通过 ASPX 页面调用方法背后的 Silverlight 代码?

c# - 将对象转换为 System.Linq.Enumerable

c# - 在 Windows Phone 8.1 应用商店应用程序中设置背景音频中的媒体文件标题和专辑