title: Having trouble converting this line of vb code into C#
body: <p>I have a vb.net project I'm trying to convert into C#. I have a file named MyWebExtension.vb and in it there is this line of code <code>#If _MyType &lt;&gt; "Empty" Then</code></p>
  
  <p>I attempted to convert into C# <code>#if (_MyType != "Empty")</code></p>
  
  <p>When I run the application I get the following error: </p>
  
  <blockquote>
    <p>Invalid preprocessor expression.</p>
  </blockquote>
  
  <p>What did I do wrong with my conversion?</p>