title: Operator '<' cannot be applied to operands of type 'int' and 'method group'
body: <p>I'm trying to build a view like following </p>
  
  <p><a href="https://i.stack.imgur.com/nlGvI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nlGvI.png" alt="enter image description here"></a></p>
  
  <p>For Model I added like this </p>
  
  <pre><code>public class UsrViewModel
  {
      public IEnumerable&lt;User&gt; SysUser { get; set; }
  }
  
  Public class User
  {            
       public int ID {get; set:}
       public bool isActive {get; set:}
       public string user {get; set:}
       public string location {get; set:}
       public string usertype {get; set:}
       public string Type {get; set:}
       public int UserOrder {get; set:}
       public bool isVisible {get; set:}
  }
  </code></pre>
  
  <p>then i created view like below, but here I'm getting Following error</p>
  
  <pre><code> @model ProjectName.ViewModels.UsrViewModel
      @{
      }
      &lt;div class="content-page"&gt;
  
          &lt;div class="content"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="row"&gt;
                      &lt;div class="col-xs-12"&gt;
                          @using (Html.BeginForm("Users", "Sample", FormMethod.Post))
                          {
                                      &lt;table class="table table-striped table-bordered" id="SysUser "&gt;
                                          &lt;tr&gt;
                                             ...
                                          &lt;/tr&gt;
                                          @if (Model != null)
                                          {
                                          for (int i = 0; i &lt; Model.SysUser.Count; i++)
                                              {
                                              &lt;tr&gt;
                                                  &lt;td&gt;
                                                      [i]
                                                  &lt;/td&gt;
                                                  ....
  
                                              &lt;/tr&gt;
                                              }
                                          }
  
                                      &lt;/table&gt;
  
                                  &lt;/div&gt;
                                  &lt;div class="col-sm-offset-1 col-sm-11"&gt;
                                      &lt;button type="submit" class="btn btn-purple waves-effect waves-light btn-wd-130"&gt;Save&lt;/button&gt;
                                      &lt;button type="submit" class="btn btn-default waves-effect waves-light btn-wd-130"&gt;Clear&lt;/button&gt;
                                  &lt;/div&gt;                 
                          }
                      &lt;/div&gt;
                      &lt;!-- end row --&gt;
  
                  &lt;/div&gt; 
              &lt;/div&gt;
  
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <blockquote>
    <p>Operator '&lt;' cannot be applied to operands of type 'int' and 'method
    group'</p>
  </blockquote>
  
  <p>in this line <code>for (int i = 0; i &lt; Model.SysUser.Count; i++)</code></p>