Vidyalelo
C# Programming · Q19

ASP.NET and Web Development with C Sharp

Programming · C# Programming · question 19

Q19

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
Answer
D.
Controlling page layout

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board