why do we use Overloading, Overriding, Boxing, Unboxing,
and what is the use of these ?

Answer Posted / x

in case of multiple use of codeing we use this methods.to
reuse code in all forms.
overloading ,overriding is used to implement methods of
already writtened method used to fill datagrid,

we do boxing in case of saveing data in user defined
form,and try to get data in client defined form.and try to
utilize boxing for type conversion problam

Is This Answer Correct ?    13 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need encapsulation in c#?

504


Explain About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.

590


What is concrete class in c# with example?

464


What is the difference between delegates and superdelegates?

464


What is the solution if you need to manipulate sets of items?

466






What is a property c#?

516


What is a trace and asset? Explain some differences?

697


What is the difference between array and list in c#?

478


What are generations and how are they used by the garbage collector?

513


What namespace is list in c#?

488


What is sorting in c#?

517


Why do we use stringbuilder in c#?

512


How do I open the console?

603


Difference between StackPanel and RelativePanel ?

571


What is difference between a constant and read-only in C#?

531