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 Posted / 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 |
Post New Answer View All Answers
Who is using asp.net?
Difference between singleton and singlecall.
What are the different kinds of assemblies?
What are the features that make asp.net more used framework? : asp.net mvc
How to handle errors in Web API?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
Explain the working of passport authentication.
What is the main function of url routing system in asp.net mvc? : asp.net mvc
How do you use viewstate?
What is preprocessor in .net and type, where it use?
Why viewstate is used in asp.net?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
What is the use of service provider?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
Please brief not about xsd,xslt & xml?