title: BigInteger division in C#
body: <p>I am writing a class which needs accurate division of the BigInteger class in C#. </p>
  
  <p>Example:</p>
  
  <pre><code>BigInteger x = BigInteger.Parse("1000000000000000000000000000000000000000000000000000000000000000000000000000000000000");
  BigInteger y = BigInteger.Parse("2000000000000000000000000000000000000000000000000000000000000000000000000000000000000");
  
  x /= y;
  
  Console.WriteLine(x.ToString());
  
  //Output = 0
  </code></pre>
  
  <p>The problem is that being an Integer, naturally it does not hold decimal values.
  How can I overcome this to get the real result of 0.5 (given example).</p>
  
  <p>P.S. The solution must be able to accurately divide any BigInteger, not just the example!</p>