Colonel Panic
Colonel Panic

Reputation: 137712

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

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#?

Upvotes: 1

Views: 303

Answers (1)

D Stanley
D Stanley

Reputation: 152626

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.

Upvotes: 6

Related Questions