title: Is a Model Passed by Reference to Partial Views using Html.Partial()?
body: <p>I have one layout and three partial views and I am passing whole Model to Partial Views. I am wondering Razor is passing the reference of the model or its copy ? </p>
  
  <p>Layout</p>
  
  <pre><code>@model MyCustomModel
  
  &lt;div&gt;@Html.Partial("View1", Model)&lt;/div&gt;
  &lt;div&gt;@Html.Partial("View2", Model)&lt;/div&gt;
  &lt;div&gt;@Html.Partial("View3", Model)&lt;/div&gt;
  </code></pre>
  
  <p>Best experience is creating partial view specific model in layout model and passing the specific models, but Layout model is really complicated and I can't touch it also because of A/B Testing.</p>