What is the difference between BigInteger type in System.Numerics.dll and the BigInteger type in FSharp.Core.dll?

StackOverflow https://stackoverflow.com/questions/23112738

  •  04-07-2023
  •  | 
  •  

As I understand, .NET has two types System.Numerics.BigInteger , one defined in System.Numerics.dll, the other in FSharp.Core.dll . What's the difference? Why does F# bother to define its own BigInteger type?

Also, can one use the FSharp.Core type from C#?

有帮助吗?

解决方案

Straight from the documentation:

This type is provided for use only with the F# Core Library Versions that targets .NET Framework 2.0. If you are using .NET Framework 4, use the .NET Framework 4 type with the same name, BigInteger.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top