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
I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.
Can we add constraints to the route? If yes, explain how we can do it?
What is difference between Viewbag and Viewdata in ASP.NET MVC?
What are bundling & minification features in asp.net mvc 4?
What are the new enhancements done in default project template of asp.net mvc 4?
Which is the default http method for an action method?
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
What is routeconfig.cs in mvc 4?
what is msl?
How to update one of my table in database at 4pm every day how it is possible?
What symbol would you use to denote, the start of a code block in razor views?
How we can invoke child actions in ASP.Net MVC?
Can I use razor code in javascript in asp.net mvc?
What is the domain object?
What are Non Action methods in ASP.Net MVC?