Write a functin to add two no. Both no can be int, float.
Answer Posted / gopathi vamseedhar
public int fname(int a,int b)
{
int c;
c=a+b;
messagebox.show("answer"+c);
}
| Is This Answer Correct ? | 5 Yes | 11 No |
Post New Answer View All Answers
What are the advantages of interface in c#?
Which namespace is required to implement trace ?
Define a strong name in .net?
What is autopostback in c#?
How can you access a private method of a class?
What is the difference between read and readline in c#?
What is difference between dictionary and hashtable?
Is int a struct in c#?
What are the 3 types of comments in c#?
What types of object can I throw as exceptions?
How can we set class to be inherited, but prevent the method from being over-ridden?
Define thread? Explain about multithreading?
What is cts, clr?
What are abstract classes in c#?
What is a destructor in c#?