title: How to use the ViewBag to store an array of strings
body: <p>I want to store a set of strings into the ViewBag in my Controller for use in my view. I want to be able to do this:</p>
  
  <pre><code>ViewBag.Autobots[0].FirstName = "Bumble"
  ViewBag.Autobots[0].LastName = "Bee"
  ViewBag.Autobots[1].FirstName = "Optimus"
  ViewBag.Autobots[1].LastName = "Prime"
  </code></pre>
  
  <p>However, in order to do this I need to first declare the Autobots array.  I've tried a few different ways, but getting tripped up on this seemingly simple thing. Would love some help!</p>