Differnce between ViewBag and ViewData in asp.net MVC 3?

Jul 1 2011 8:00 AM

What is the differnce between ViewBag and ViewData in asp.net MVC 3?
Which is the best to use with Razor view engine?

Answers (2)