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

What is c# console application?

1005


What is the main purpose of xml?

975


What is a delegate? How can it works?

1225


What is managed or unmanaged code?

1119


Explain the difference between a namespace and assembly name in .net?

999


How do I create a delegate/multicastdelegate?

1069


What is the purpose of namespace?

929


Is c# scripting language?

948


What is encapsulation in csharp?

1044


What is marshalling and what are different kinds of marshalling?

974


To whom a method is accesssed if it is marked as protected internal ?

1128


Is var a data type?

994


Differentiate between sqlclient oledb and providers?

1012


What are data types with examples?

1037


What do u mean by delegation of authority?

991