title: Pass variables to a partial view in MVC
body: <p>How can I send variables to my partial view?</p>
  
  <p>And I don't mean like my model, but values seperate from that</p>
  
  <p>So instead of <code>@Html.Partial("~/Views/Test/_Partial.cshtml", Model)</code></p>
  
  <p>It would be something like <code>@Html.Partial("~/Views/Test/_Partial.cshtml", Variable = 2)</code></p>
  
  <p>And then in my partial view I could just use it like</p>
  
  <pre><code>// html
  @Variable
  // html
  </code></pre>