title: How MVC View works even without specifying Model type?
body: <p>Just created a simple <code>MVC 5</code> application.</p>
  
  <p>Created a controller and calling my view like this:</p>
  
  <pre><code>var testClass = new TestClass();
  testClass.Name = "Krish";
  return View(testClass);
  </code></pre>
  
  <p>Created a view and it looks  like below:</p>
  
  <pre><code>@{
      ViewBag.Title = "Index";
  }
  
  &lt;h2&gt;Index&lt;/h2&gt;
  
  &lt;h3&gt;@Model.Name&lt;/h3&gt;
  </code></pre>
  
  <p><strong><em>But this just works even without specifying the Model type.</em></strong> </p>
  
  <hr>
  
  <pre><code>Should not we specify something like:
  `@Model TestClass`
  </code></pre>
  
  <hr>
  
  <p>Any ideas why?</p>
  
  <p><strong>EDIT:</strong><br>
  <a href="http://msdn.microsoft.com/en-us/library/dd505255(v=vs.118).aspx" rel="nofollow">This</a> page of MSDN says that <code>Represents a container that is used to pass strongly typed data between a controller and a view.</code> We are not strongly typing the model above. How come then the view find the model type then ?</p>