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
Explain the difference between directcast and ctype.
What do you mean by the delegate in c#?
What is difference between dictionary and hashtable?
What is the difference between returning iqueryable vs ienumerable?
Is static class thread safe in c#?
How can we sort an array in c#?
State two different types of access modifiers.
Tell me the difference between call by value and call by reference.
Differentiate between sqlclient oledb and providers?
Constructor to an arbitrary base constructor?
What is the default value of string in c#?
Explain the difference between .net and c#?
What is dictionary collection in c#?
How does bitwise xor work?
How do generics work in c#?