title: Strongly typed Viewbag items
body: <p>If I am using a ViewBag which contains a strongly typed object, is there any way on MVC Razor to define (or cast this) so that all the elements of that appear in the IntelliSense? </p>
  
  <p>For example lets say I have </p>
  
  <pre><code>ViewBag.Movies.Name
  ViewBag.Movies.Length
  </code></pre>
  
  <p>I know Movies is of object type Movie, which has the members Name and length</p>
  
  <pre><code>class Movie { 
      public string Name {get; set;}
      public string Length {get; set;}
  }
  </code></pre>
  
  <p>Can I somehow cast this, like I do for model </p>
  
  <pre><code>@model Transactions.UserTransactionDetails
  </code></pre>
  
  <p>So that the members of Movie become available in Razor? </p>