title: How to generate double numbers in c#
body: <p>Thanks everyone i got the library of numbers, but i still have a problem.
  This code bellow is only able to generate all numbers from 0.000000000000000000000000000001 to 0.999999999999999999999999999999
  ,but i need ALL NUMBERS from 0.009999999999999999999999999999 to 0.099999999999999999999999999999.
  So i modified it and know its stuck on 0.01, so its printing in a file only 0.01 every time its in a loop, and it's not getting bigger!
  BENDER BENDING please help!</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.IO;
  
  namespace double_generator
  {
  class Program
  {
      static void Main()
      {
          try
          {
              using (System.IO.StreamWriter file = new System.IO.StreamWriter(@"C:\Users\xexex\Desktop\green.txt"))
              {
                  double number = 0.009999999999999999999999999999;
  
                  do
                  {
                      number += 0.000000000000000000000000000001;
                      file.WriteLine(number.ToString("N30"));
                  } while (number &lt;= 0.099999999999999999999999999999);
              }
          }
          catch (Exception ex)
          {
              Console.WriteLine(ex.ToString());
          }
      }
  }
  </code></pre>
  
  <p>}</p>