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 is shared inheritance
What is difference between value and reference types ?
why instance? what are the uses of instance?
What is difference between list and ilist in c#?
What is a string? What are the properties of a string class?
Write a functin to add two no. Both no can be int, float.
What namespaces are necessary to create a localized application?
Why do we use generics in c#?
How?s method overriding different from overloading?
Where do you add an event handler ?
What is Named parameter in C#?
what are the differences b/w structure and class?
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)