Is there any type in C#that would allow me to store a fractional number with arbitrary or infinite precision? I don't want to use any external libraries--would I have to write a class myself? How would I do this?
I need a variable to which I can apply the standard arithmetic operations, and get the result with as much precision as I want, something in which I could do something like calculate pi or another irrational number to a precision like 10,000 digits...