title: Convert String to ByteArray in C#
body: <p>I want to convert a String to ByteArray in C# for Decrypt some data.</p>
  
  <p>When I get de String from the ByteArray created, it shows question marks (?).</p>
  
  <p>Example code:</p>
  
  <pre><code>        byte[] strTemp = Encoding.ASCII.GetBytes(strData);
  
          MessageBox.Show(strData);
          MessageBox.Show(Encoding.ASCII.GetString(strTemp));
  </code></pre>
  
  <blockquote>
    <p>The string is "Ê&lt;,,l"x¡" (With the double quotation mark) and the result to convert again to string is: ???l?x? </p>
  </blockquote>