title: C# Build hexadecimal notation string
body: <p>How do I build an escape sequence string in hexadecimal notation. </p>
  
  <p>Example:</p>
  
  <pre><code>string s = "\x1A"; // this will create the hex-value 1A or dec-value 26
  </code></pre>
  
  <p>I want to be able to build strings with hex-values between 00 to FF like this (in this example 1B)</p>
  
  <pre><code>string s = "\x" + "1B"; // Unrecognized escape sequence
  </code></pre>
  
  <p>Maybe there's another way of making hexadecimal strings...</p>