What is "out" parameter how it is used in methods?
Answer Posted / bharani
A out parameter is a parameter option to pass value to the
calling function. If a function needs to return multiple
values to the calling function the it is best to use out
parameter whereas return parameter can be used for
returning only one value.
An out parameter should be marked with an out keyword, and
the parameter should be initialized inside the function.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What are the 2 popular asp.net mvc view engines?
Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?
what do you mean by table-per-type?
Is it possible to create a custom filter?
What are the options can be configured in AJAX helpers?
Explain two instances where routing is not implemented or required?
Is the following route definition a valid route definition? {controller}{action}/{id}
Can I uninstall microsoft .net framework?
How to use multiple submit buttons in asp.net mvc?
Explain the types of Scaffoldings.
What is the advantage of using asp.net routing?
Explain what is routing?
how to disable the lazy loading framework?
Is .net framework 4.8 the last version?
Is .net framework dead?