1.

How will you differentiate between ActionResult and ViewResult?

Answer»

Some COMMON differentiation between ACTIONRESULT and ViewResult is:

ActionResultViewResult
It becomes effective if you want to derive DIFFERENT types of views dynamically.It is not so effective in DERIVING different types of views dynamically.
It is an abstract class, meaning it has methods and VARIABLES without the implementation body of instruction.This has been derived from the ActionResult class.
JsonResult, ViewResult, and FileStreamResult are some examples of its derived class.This class do not have its own derived class.


Discussion

No Comment Found