title: How to convert binary to string?
body: <pre><code>static List&lt;int&gt; ConvertTextToBinary(int number, int Base)
  {
      List&lt;int&gt; list = new List&lt;int&gt;();
      while (number!=0)
      {
          list.Add(number % Base);
          number = number / Base;
      }
      list.Reverse();
      return list;
  }
  
  
  
  static void Main(string[] args)
  {
  
     string s = "stackoverflow";
     int counter=0;
     while (counter!=s.Length)
     {
         int[] a = ConvertTextToBinary(s[counter], 2).ToArray();
         for (int i = 0; i &lt; a.Length; i++)
         {
             Console.Write(a[i]);
         }
         Console.Write("\n");
         counter++;
     }
  }
  </code></pre>
  
  <p>I wrote a method to convert string to binary, its working fine. But now I want to convert binary to string eg: 1101000 is equal to h.</p>