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 |
How encapsulation and abstraction defined/used in C#.NET.
What is private and shared assembly?
What is generic types in c#?
What is the meaning of int parse in c#?
State two different types of access modifiers.
What are data types with examples?
How do you determine whether a string represents a numeric value?
in object oriented programming, how would you describe encapsulation?
Describe how a .net application is compiled and executed
What benefit do you get from using a primary interop assembly (pia)?
Is constructor a static method?
How do you secure a webservice?