R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of these represents a strongly-typed view in ASP.NET MVC?

  • (A) @model dynamic
  • (B) @model var
  • (C) @model string
  • (D) @inherits object

Explanation by: Ram Sharma
Using `@model string` declares a strongly-typed view expecting a `string` model.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.