title: C# difference between byte[] and char[] format?
body: <p>I was wondering those differences, since I have a program that asks me for a byte[].</p>
  
  <pre><code>public static string DecryptTextFromFile(String FileName, byte[] Key, byte[] 
  IV){}
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/60nIc.jpg" rel="nofollow noreferrer">enter image description here</a> </p>
  
  <p>and I have already tried:</p>
  
  <p><code>char[] key= { '9', 'D', '2', 'A', 'E'};</code> doesn't give an error but I need byte[]</p>
  
  <p>and this:</p>
  
  <p><code>byte[] key= { '9', 'D', '2', 'A', 'E'};</code> // but this one says that I am using char characters, how do I put them in <code>byte[]</code> format?.</p>