title: Razor If/Else conditional operator syntax
body: <p>Not having much luck, I have the following if/else statement in Razor which works perfectly</p>
  
  <pre><code>&lt;small&gt;
    @if(deletedView){
       @:Deleted
    } 
    else {
       @:Created
    } by
  &lt;/small&gt; 
  </code></pre>
  
  <p>I am trying to do something like this:</p>
  
  <pre><code>&lt;small&gt;
    @(deletedView) ? @:Deleted : @:Created by
  &lt;/small&gt;
  </code></pre>
  
  <p>But that fails miserably. What is the proper syntax?</p>