in MVC Language by
Mention What Is The Difference Between “actionresult” And “viewresult”?

▼ Show 1 Answer

0 votes

“ActionResult” is an abstract class while “ViewResult” is derived from “AbstractResult” class.  “ActionResult” has a number of derived classes like 

“JsonResult”, “FileStreamResult” and “ViewResult” .

“ActionResult” is best if you are deriving different types of view dynamically.

Learn More with Madanswer

Related questions

0 votes
asked Aug 18, 2019 in MVC Language by sheetalkhandelwal