The @ViewData object is a type of _________, allowing you to pass data from the controller to the view.

  • Dictionary
  • List
  • Class
  • Interface
The @ViewData object is a type of Dictionary in ASP.NET Core. It is used to pass data from the controller to the view. ViewData allows you to share data between different parts of your application, making it available for rendering in the view.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *