title: Display byte array in a text box without converting to readable string
body: <p>I am trying to take ASCII from textBox1 and display the text in binary in textBox2. A simple ASCII to Binary converter. </p>
  
  <pre><code>        private void button1_Click(object sender, EventArgs e)
      {
          byte[] inVAR = System.Text.Encoding.ASCII.GetBytes(textBox1.Text);
          string outVAR = inVAR.ToString();
          textBox2.Text = outVAR;
  
      }
  </code></pre>
  
  <p>This of course results in the output being the same as the input, since I am converting the byte array back in to a readable string. </p>
  
  <p>My question is how can I get the ASCII text to convert to binary but also a string type so that I can display it in the text box. </p>
  
  <p>Essentially I am asking how do I create this ASCII to Binary converter because my method seems wrong. </p>
  
  <p>Thanks!</p>
  
  <p><strong>Resolved! Thank you SLaks and OlimilOops:</strong></p>
  
  <pre><code>textBox2.Text = string.Join(" ", inVAR.Select(b =&gt; Convert.ToString(b, 2).ToUpper()));
  </code></pre>