there is two functions function a and function b like
fun a(){....
.....
}
fun b()
{
}
in function b i write the coding to add two numbers and i
need to dispaly the sum result in function a with out using
global variable. how we do?
Answer / imatoria
1. Either change the signature of function a() to function
a(int total).
2. Or Make the function a() as the extension function:
static function a(this int total).
Is This Answer Correct ? | 1 Yes | 0 No |
To call a Web service SOAP which transport protocol you use?
Difference between Dataset and DataReader ?
4 Answers Accenture, BirlaSoft, Infosys, Microsoft, Techseol,
What are the benefits of Razor View?
What are the different types of Session state management options available with ASP.NET?
How can you provide an alternating color scheme in a Repeater control?
what is diffrence between debug class and trace class in asp.net ?
What is paging in context of Memory?
Why is xap important?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
How do you do validations. Whether client-side or server-side validations are better.?
Types of caching ?
1 Answers Digital GlobalSoft, MicroSec, Wipro,
What is a global postback url?