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 / raj

Boxing: Implicitly converting value type to object type

Eg: int i=1;
object obj=i;

UnBoxing:Explicitly Converting object type to value type

Eg: int j=(int) obj;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need properties in c#?

889


What is thread in c#?

958


What is inumerable?

1049


Can abstract class be sealed in c#?

889


Can we inherit private members of class in c#?

972


What is the difference between ref & out parameters in c#?

956


What is the namespace for the thread class?

957


Illustrate the differences between the system.array.copyto() and system.array.clone()?

993


Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records

1063


How will you deploy the dll file in gac?

947


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

965


Why do we use stringbuilder in c#?

927


What is clr namespace?

1040


what are pointer types in c#

986


What does void mean unity?

952