Write a functin to add two no. Both no can be int, float.
Answers were Sorted based on User's Feedback
Answer / mithun
public double Add(double a, double b)
{
double c =a + b;
return c;
}
| Is This Answer Correct ? | 13 Yes | 1 No |
public int fname(int a,int b)
{
int c;
c=a+b;
messagebox.show("answer"+c);
}
| Is This Answer Correct ? | 5 Yes | 11 No |
Answer / 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 |
What are Sealed Classes in C#?
Are tuples immutable c#?
What is the function of the not null constraint?
What is the difference between interface and abstract class ?
List out two different types of errors in c#?
how can your software identify which version of dot net framework install in client pc and install framework accordingly
What is xslt in c#?
Can you inherit multiple interfaces?
7 Answers Host4Big, Mind Tree, Moftak Solutions, Siebel Systems,
How many digits are in an integer?
What is command object in c#?
How to raise an selection changed event associated with listbox in datagridview control with a sample example?Here the listbox is a child control associated with datagridview control.
Is array reference type / value type?
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)