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
explain what does .edmx file contains?
what do you mean by table-per-type?
what is use of entitydatasource control?
Explain how you can send the result back in JSON format in MVC?
Explain Sections is ASP.Net MVC?
What is edm designer? : Entity framework
Does .NET Framework support SAX?
Explain Keep method in Tempdata in ASP.Net MVC?
What is entityset? : Entity framework
What is difference between razor and web form engine?
what is entityclient?
Explain tempdata in asp.net mvc?
What is a razor file?
How you can implement custom validation in asp.net MVC?
Is .net core replacing .net framework?