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
How you can implement custom validation in asp.net MVC?
What is the difference between windows vista and .net framework 3.0 ?
What are non action methods in mvc?
What is main objective of asp.net mvc 4 or what is new in mvc4 ?
Explain the advantage of packaging over xcopy in .net?
Is the following route definition a valid route definition? {controller}{action}/{id}
Can I set the unlimited length for "maxjsonlength" property in config?
mention what is code first approach and model first approach in entity framework?
What is html.renderpartial?
Name a few different return types of a controller action method?
Can we have enum in entity framework?
What is the use of razor view engine?
how do you mark a property as required? For example, for a project, the name is a required field.
What is namespace of asp.net mvc?
What are the options can be configured in AJAX helpers?