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

How to achieve polymorphism in c#?

1018


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

1118


Where do we use static class in c#?

976


Can bool be null c#?

934


Is 0 an unsigned integer?

954


What do you mean by stack and heap in c#?

964


What is _layout cshtml?

906


What is a c# delegate?

1130


Is array ienumerable c#?

946


How does a while loop work?

937


Write down the c# syntax to catch an exception

984


Which program construct must return a value?

1128


Why do we need events in c#?

1035


Is the following code legal?

1020


Explain the difference between pass by value and pass by reference.

998