title: 1000 digit number in C#
body: <p>I am working on <a href="https://projecteuler.net" rel="nofollow">Project Euler</a> and ran into an issue.</p>
  
  <p>I am unable to use a 1000 digit number and wanted to know if I am doing something wrong or am just going about  this solution in the wrong way and if so what would be best approach be?</p>
  
  <p>C#</p>
  
  <pre><code>namespace ToThePowerOf
  {
      class Program
      {
          static void Main(string[] args)
          {
              BigInteger n = 1;
              int x = 0;
              BigInteger [] number;
              number = new BigInteger[149194];
              number[x] = 1;
              number[x + 1] = 1;
              x = 3; ;
              BigInteger check = 10000000000000000000000000000
                                  0000000000000000000000000000000
                                  0000000000000000000000000000000
                                  0000000000000000000000000000000
                                  0000000000000000000000000000000
                                  0000000000000000000000000000000
                                  0000000000000000000000000000000
                                  0000000000000000000000000000000
                                  0000000000000000000000000000000
                                  00000000000000000000000;
  
              for (int i = 99; i &gt; 0; i--)
              {
                  n = (n - 1) + (n - 2);
                  number[x] = n;
                  x++;
                  if (n &gt; check)
                  {
                      Console.WriteLine(x);
                  }
              }
          }
      }
  }
  </code></pre>