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
In which assembly is the mvc framework defined?
What is the importance of NonActionAttribute?
why DotNetFramework is included in building a software
What is renderbody?
Explain how to use multiple submit buttons in ASP.Net MVC?
Does .NET Framework support SAX?
What is the use of the default route {resource}.axd/{*pathinfo} ?
what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?
Explain test driven development (tdd) ?
How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?
What is latest version of .net framework?
Mention the core components of .net framework?
What are bundling & minification features in asp.net mvc 4?
What is mapping in entity framework? : Entity framework
Explain two instances where routing is not implemented or required?