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 |
What's the use of formatters in .net?
Explain how dot net compiled code will become platform independent?
Tell me Asp.net Method Overriding.
Can we override the enablepartialrendering property of the scriptmanager class?
Disable browser cache for entire ASP.NET website?
What I need to create and run an asp.net application?
Differentiate between authentication and authorization.
What does aspnet_regiis -i do ?
What is asp net_sessionid?
what is stateless ?
can u debug application programatically? if yes how?
How To Generate ConnectionString By Using Notepad??
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)