Home / MCQ Bank / Computer
Computer Asp.Net And Web Development With C Sharp Difficulty: Medium

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

Select the correct option to test your answer:

More Computer Questions

Which among the following is not a palindrome? In Java, which class provides methods for sorting and searching arrays? Which of the following function is used for loading flat files? What is the purpose of the unique() function in R? What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; class B { int b; public: B(){} B(int i){ b = i; } int show(){ return b; } }; class C { B b; public: C(int i){ b = B(i); } friend void show(){ C c(10); cout<<"value of b is: "<<c.b.show()<<endl; } }; int main(int argc, char const *argv[]) { C c(1); c.show(); return 0; }