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

Answer Posted / sendhil vel

methods cannot have out parameters only parameters with ref
or value can be passed to method/function

When we talk about procedures in Sql server we can have out
parameters. They are mainly used when you want to return
multiple values and non numeric values from the sql
procedures

They are usefull when you are calling a procedure from
another procedure and need some specfic values

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can multiple submit buttons in ASP.Net MVC

631


What is namespace of asp.net mvc?

600


What is the importance of NonActionAttribute?

609


What is the difference between viewbag and viewdata in asp.net mvc?

618


Why to use Html.Partial in ASP.Net MVC?

603






How does servicing work for the .net framework 3.0?

538


Can you use Razor code in Javascript in ASP.Net MVC?

664


What is ViewStart Page in ASP.Net MVC?

575


What are the new features 3.5 framework against with the tool?

540


What is the difference between renderaction and renderpartial?

617


how can you tell ef to have a different table or column name than that defined for the class?

572


Explain JSON Binding?

619


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

588


How can you return string result from Action in ASP.Net MVC?

558


What is presentation framework?

547