title: Adding Values to a Byte Array
body: <p>I'm starting with the two values below:</p>
  
  <pre><code>finalString = "38,05,e1,5f,aa,5f,aa,d0";
  string[] holder = finalString.Split(',');
  </code></pre>
  
  <p>I'm looping thru holder like so: </p>
  
  <pre><code>foreach (string item in holder)
  {
    //concatenate 0x and add the value to a byte array
  }
  </code></pre>
  
  <p>On each iteration I would like to concatenate a 0x to make it a hex value and add it to a byte array.</p>
  
  <p>This is what I want the byte array to be like when I finish the loop:</p>
  
  <pre><code>byte[] c = new byte[]{0x38,0x05,0xe1,0x5f,0xaa,0x5f,0xaa,0xd0};
  </code></pre>
  
  <p>So far all my attempts have not been successful. Can someone point me in the right direction?</p>