title: RuntimeBinderException: 'object' does not contain a definition for 'Name'
body: <p>I'm new to MVC C# application. I'm Sending a student Object from Controller to View. The Student class is defined in the Model. here is the code for Controller class. StudentController.cs</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Mvc;
  using MvcApplication.Models;
  
  namespace MvcApplication.Controllers
  {
     public class StudentController : Controller
     {
         //
         // GET: /Student/
  
         public ViewResult Get()
         {
             Student s = new Student();
              s.Name = "Ali";
              s.SID = "45";            
              return View(s);
         }
     }
  }
  </code></pre>
  
  <p>Her is my Model class Student.cs</p>
  
  <pre><code>using System; 
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  
  namespace MvcApplication.Models
  {
      class Student
      {
          public string Name { get; set; }
          public string SID { get; set; }
      }
  }
  </code></pre>
  
  <p>Here is my View class get.cshtml</p>
  
  <pre><code>@{
       ViewBag.Title = "get";
   }
  
   &lt;h2&gt;get&lt;/h2&gt;
   &lt;p&gt; @Model.Name &lt;/p&gt;
   &lt;p&gt; @Model.SID &lt;/p&gt;
  </code></pre>
  
  <p>When I hit the request at <a href="http://localhost:16206/Student/get" rel="nofollow">http://localhost:16206/Student/get</a>
  following exception occur.</p>
  
  <pre><code>RuntimeBinderException: 'object' does not contain a definition for 'Name'
  </code></pre>
  
  <p>Don't know how to fix it.</p>