Write a functin to add two no. Both no can be int, float.
Answer Posted / aaaa
public int fname(int a,int b)
{
int c;
c=a+b;
messagebox.show("answer"+c);
return(c);
}
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What does exclamation mark mean c#?
Explain About delegates
Classes and structs can be declared as static, is this statement true or false?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
How is a loop recorder monitored?
Does c# replace c++?
What is signature c#?
Is c# a technology?
How does the clr work?
Is string nullable c#?
Why use a singleton instead of static methods?
Why linq is having select clause at the end?
Why do we need nullable types in c#?
What are generations and how are they used by the garbage collector?
Why can’t struct be used instead of class for storing entity?