What is "out" parameter how it is used in methods?

Answer Posted / somnath nanekar

if we want something from that method/procedure to return
then use out parameter
1st we call that method with out parameter. then give some
value to that out parameter in procedure and then use that
value...
so to get the required value we use out parameter

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is entity framework used for?

519


Explain the 'page lifecycle' of an ASP.NET MVC?

627


What is the advantage of using asp.net routing?

593


What is html.renderpartial?

562


Why we need a separate mobile project template, while we can render our web application in mobile ?

586






What is poco proxy? : Entity framework

554


What is .net architecture?

544


What are authentication filters in web api?

573


What is net framework 3.0 ?

593


Can any particular component of .net framework 3.0 be removed?

520


What is viewbag?

614


What are Action Methods in ASP.NET MVC?

574


mention in what all scenarios entity framework can be applicable?

970


mention what is the difference between ado.net and classic ado?

568


Explain the methods used to render the views in mvc?

549