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

What is attribute routing in mvc?

797


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

740


What are the benefits of .net framework?

746


what is way of loading data in ef (entity framework)?

788


What is mvc entity framework?

713


Difference between ASP.NET MVC and ASP.NET WebForms?

786


What is the version number for the next version of the .net framework, codenamed �orcas�?

699


What is Dependency Injection in ASP.Net MVC

770


What is domain class model?

714


Which is the default http method for an action method?

686


What are the major improvements provided by the common language runtime and the base class libraries? Or what are the major improvements in .net framework 4.0?

730


What is difference between Viewbag and Viewdata in ASP.NET MVC?

794


How route table has been created in ASP.NET ASP.Net MVC?

737


What is the 'page life cycle' of an ASP.NET MVC?

816


What is the difference between tempdata and viewbag?

685