title: Difference between ( ) (parenthesis) and { } (curly brackets) in Razor
body: <p>What is the difference between them both. I thought they were the same but today I realized that they are not.</p>
  
  <p>Why this is correct </p>
  
  <pre><code>@(Model.WillAttend == true ? 
      "This will be an exciting party with you" : 
      "So sorry. You'll lose the beeer")
  </code></pre>
  
  <p>and this is not:</p>
  
  <pre><code>@{Model.WillAttend == true ? 
      "This will be an exciting party with you" : 
      "So sorry. You'll lose the beeer"}
  </code></pre>