why do we use Overloading, Overriding, Boxing, Unboxing,
and what is the use of these ?
Answer Posted / kumar
overloading: using smae function or operator in different
and various way is called the overloading. this is because
of situation and the use. mainly two types are
1). Function overloading
area pi.r^2;
area l.b;
same function area and hence function overloading
2). Operator overloading
int add;
int float;
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
Do loops in c#?
What is the purpose of ienumerable in c#?
Why do we use virtual methods in c#?
What is marshalling and what are different kinds of marshalling?
What is the default scope of a class in c#?
What is the symbol used for in c#?
Can a method return multiple values in c#?
What is the default modifier for class in c#?
What is the difference between an implicit conversion and an explicit conversion?
What is typeof c#?
Should I make my destructor virtual?
What are nested classes in c#?
What is windows application in c#?
What is the difference between function and method in c#?
Is Facebook a desktop application?