What is "out" parameter how it is used in methods?
Answer Posted / bhavnasweet04
Out Parameter: Used to pass a parameter as a reference so
that the function called will set the value. This could be
used to return more than 1 value by a function.
e.g.
public int AddMuliply( int a int b out int c)
{
c a*b;
return ( a+b);
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is meant by viewdata?
what is eager loading?
What you mean by routing in mvc?
How does �side by side� work for the .net framework 3.0?
What is representational state transfer (rest) mean?
mention what is code first approach and model first approach in entity framework?
how do you query in entity model when the result has a join from from different database other than the entity model?
Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?
will there be any issues adding a table without primary keys to a data model?
What is session state management?
Briefly describe the roles of clr in .net framework?
Why we need a separate mobile project template, while we can render our web application in mobile ?
Is .net framework 4.8 the last version?
Explain Model, view and Controllers in Asp.Net MVC?
What are the components required to create a route in mvc?