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


Please Help Members By Posting Answers For Below Questions

What is the default value of singleordefault?

490


What is a verbatim string literal and why do we use it?

473


What is a method c#?

469


Are structs faster than classes?

532


What is int32 in c#?

494






What is asynccallback c#?

518


What is a singleton unity?

552


What is difference between events and delegates?

484


What is use of FormBoarderStyle Propertie

532


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

549


How can I create image pieces/sub image?

482


What is deadly diamond problem?

540


How do I download a program to my desktop?

461


What is dependency injection?

553


What are the applications of c#?

466