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
WSDL means?
What is difference between session and cookies in asp net?
What are the different authentication modes in asp.net?
Which authentication uses a combination of windows and iis authentication?
What is a user session?
Explain the difference between singleton and single call?
How to rename a table using sql queries?
Please briefly explain the usage of global.asax?
Explain the difference between Web Garden and Web Farm?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What do you mean by authorization?
Who creates jsessionid?
Explain what is postback in asp. Net?
What is web router?
Which is faster viewdata or viewbag?