Write a functin to add two no. Both no can be int, float.
Answer Posted / mithun
public double Add(double a, double b)
{
double c =a + b;
return c;
}
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is difference between variable and property in c#?
What is yield c#?
What is a scope in c#?
Different between method overriding and method overloading?
Can we override static class in c#?
Is list ienumerable c#?
What is a class in unity?
In which situation(s), the use of "Delegate" is a good idea?
How Reflection is used and what it's significance ?
What is the difference between firstordefault and singleordefault?
What is the implicit name of the parameter that gets passed into the set method/property of a class?
Explain the different ways a method can be overloaded?
What is msil, and why should developers need an appreciation of it if at all?
Can class be protected in c#?
What is the difference between an application domain and a process?