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 do we achieve encapsulation in c#?

922


How do I do implement a assert?

945


What Is A Satellite Assembly?

956


What are the advantages of generics in c#?

892


Why do we overload constructors?

876


List the 5 different access modifiers in c#?

904


Explain the top reason to use c# language?

924


What is garbage collector and where should you use in .NET?

969


Can a struct inherit from an interface in c#?

994


Where do I put dll files?

994


Explain the difference between and xml documentation tag?

896


How do you declare an interface in c#?

889


What is alias in c#?

935


Is c# and .net same?

841


What are the different states of a thread?

913