Examveda

In ASP.NET MVC, what is the purpose of the ViewBag object?

A. Validating user input

B. Handling user authentication

C. Passing data from the controller to the view

D. Controlling page layout

Answer: Option C


Join The Discussion

Related Questions on ASP.NET and Web Development with C Sharp