Manav Pandya
why JSON return type is used instead ActionResult()?
By Manav Pandya in ASP.NET on Oct 04 2016
  • Nani Veerabhadra Karri
    Oct, 2017 19

    For Example., Public Object M1() {return 25; }For above Method we can write Like this also., Public int M1() {return 25; }if return type as Object later we have to do DownCasting it will effect on Prformance.,if return type is int we can use value Directly .,like this is Scenario also Same

    • 1
  • Satheesh Elumalai
    Oct, 2017 10

    ActionResult is an abstract class .and then return values as drived class like more then one return class is there like jsonresult,javascriptrsult,contentresult,viewresult....etc

    • 1
  • Manav Pandya
    Feb, 2017 9

    Performance is most concerns

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS