title: How do I escape the # character in a VB.NET string literal?
body: <p>If I needed to escape a double quote character within a string literal I'd use two consecutive double quotes as follows:</p>
  
  <pre><code>Dim name = "Chuck ""Iceman"" Liddell"
  </code></pre>
  
  <p>However, it doesn't seem like consecutive # works the same way.  The compiler is expecting a compiler directive to follow the # character, even when its enclosed in double quotes.  How can tell the compiler that I want a # character in my string?</p>
  
  <p>Thanks!</p>
  
  <p><strong>EDIT:</strong> as a few of the answers below point out, <code>#</code> is not a reserved character.  I closed my solution in Visual Studio and re-opened it and no longer got the compiler squiggles warning me.  Thanks!</p>