Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi to everybody. Lastweek i had taken an interview on c#.
They ask what is boxing & unboxing, Masking.Please tell the
answer and it is useful for me.

Answer Posted / chandu

Boxing:converting from value types to reference type is
known as boxing.
Unboxing:Converting from reference types to value type is
known as unboxing.

boxing ex: int i=1;
obj o=i;

unboxing ex: int i=1;
obj o=i;
int j=int o;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can abstract class be sealed in c#?

889


What is a delegate in c#?

946


Is list a collection c#?

987


Describe the ways of cleaning up objects in c#.

909


Is c# a backend language?

980


Explain About Web.config

981


What is array class in c#?

857


What will be the output of the following code?

927


Explain polymorphism in c# with a simple example?

939


What is the difference between constants and read-only?

921


What can I create with c#?

922


Can extension methods access private members?

914


What is the difference between convert and parse in c#?

940


Explain the difference between the system.array.copyto() and system.array.clone()?

936


What is a three-tier application.

1055