title: How to get the Model property value in View page
body: <p>I have a view page, where I want to do multiplication operation with the value of model property with a local variable.</p>
  <h2>View.cshtml :</h2>
  <pre><code>@model FLIPCART.ViewModels.ShoppingCartViewModel
  
   &lt;div&gt; @Model.CartTotal  &lt;/div&gt;
  
  &lt;select&gt;
     @for (int i = 0; i &lt; 200; i++)
        {
           &lt;option value=&quot;@i&quot;&gt;@i&lt;/option&gt;
         }
         &lt;/select&gt;
  </code></pre>
  <p>Can it operate like this <code>var result=(@Model.CartTotal * @i)</code> ?</p>