title: Razor if condition difference
body: <p>Why is the second if statement incorrect? note that I attempted to make it a single line.</p>
  
  <p><img src="https://i.stack.imgur.com/Jz0Ox.png" alt="Correct If Condition"></p>
  
  <p><img src="https://i.stack.imgur.com/FHTIM.png" alt="enter image description here"></p>
  
  <p>thanks</p>
  
  <p><strong>After Andrei Andrushkevich suggestion</strong>, red code. Tree and ul are red/squiggled. Plus the function param is red and all references in the blurred code is red.</p>
  
  <p><img src="https://i.stack.imgur.com/5zu57.png" alt="enter image description here"></p>