ViewData is a dictionary objects, requires typecasting
ViewBag is a dynamic property,not requires typecasting
TempData also a dictionary objects
ViewData & ViewBag maintain data when you move from controller to view,becomes null when redirection occurs.
TempData keeps the information for the time of an HTTP Request.