title: Multiple If ElseIf NOT WORKING IN CSHTML
body: <p>The first IF and last ElseIf statements are working. But not the second If statement.
  please help. </p>
  
  <pre><code>&lt;div&gt;
    @if(string.Equals(code,"CI"))
    {
      &lt;img src="~/Images/CI.jpg" style="float:right" height=208" width="268px"/&gt;
    }
  
    **else if(string.Equals(code,"NY"))**
      {
      &lt;img src="~/Images/NY.jpg" style="float:right" height="208" width="268px"/&gt;
      }
  
    else if (string.Equals(code, "KY"))
        {
          &lt;img src="~/Images/KY.JPG" style="float:right" height="208" width="268px"/&gt;  
        }
  
  
  &lt;/div&gt;
  </code></pre>