title: Why HtmlHlper does not work when '@' sign is not given?
body: <p>in a view file I added following code block. (To make this clean, I have omitted code blocks which are not necessary.)</p>
  
  <pre><code>         &lt;div&gt;
  
              @for (int i = 0; i &lt; Model.Step1.Locations.Count; i++)
              {
  
                  Html.TextBoxFor(modelItem =&gt; Model.Step1.Locations[i].City);
                  Html.TextBoxFor(m =&gt; Model.Step1.Locations[i].Country);
                  &lt;br/&gt;
  
              }
          &lt;/div&gt;
  </code></pre>
  
  <p>This won't show text boxes for above code block, although iteration properly works, when I do the debugging.</p>
  
  <p>Then I changed above code block as follow,</p>
  
  <pre><code>            &lt;div&gt;
              &lt;table&gt;
                  @for (int i = 0; i &lt; Model.Step1.Locations.Count; i++)
                  {
                      &lt;tr&gt;
                          &lt;td&gt;
                              @Html.TextBoxFor(modelItem =&gt; Model.Step1.Locations[i].City)
                          &lt;/td&gt;
                          &lt;td&gt;
                              @Html.TextBoxFor(m =&gt; Model.Step1.Locations[i].Country)
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  }
              &lt;/table&gt;
          &lt;/div&gt; 
  </code></pre>
  
  <p>And that works properly. 
  Do we have to add '@' sign explicitly? 
  Because in first code block these HtmlHelpers are used within the curly brackets of 'for' loop, so I thought '@' sign would not be required.</p>
  
  <p>Can you please explain facts behind this?</p>
  
  <p>Thank you.</p>