bl4kh4k
bl4kh4k

Reputation: 1440

Custom SerializationInfo

I'm trying to think of the best way to implement SerializationInfo GetDouble(string value) but return a BigInteger instead. I'm working with very large numbers and need a suitable way to customize the sealed class to achieve my functionality.

I'm probably overthinking it, any suggestions?

Cheers.

Upvotes: 0

Views: 227

Answers (1)

Guvante
Guvante

Reputation: 19223

GetValue accepts a Type object, and BigInteger has SerializableAttribute.

Upvotes: 2

Related Questions