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...

What is boxing and unboxing ?

Answer Posted / kirti

Boxing :- Boxing is an implicit conversion of a value type to the type object type

Eg:-

Consider the following declaration of a value-type variable:

int i = 123;

object o = (object) i;

Boxing Conversion

UnBoxing :- Unboxing is an explicit conversion from the type object to a value type

Eg:

int i = 123; // A value type

object box = i; // Boxing

int j = (int)box; // Unboxing

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by passport authentication?

1024


How do you implement distributed applications in .net?

926


Types of compatabilities and explain them ?

2370


Are you aware of containment and Aggregation ?

3138


What are static assemblies and dynamic assemblies. Differences between them?

1085


Difference between web services & remoting?

960


Which one is better WebService and Remoting ?

1042


What is a formatter in .net remoting?

1004


About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?

2931


What are static assemblies?

941


Explain Singleton design pattern of Remoting?

919


What are the security features in .net remoting?

946


Can you explain remoting?

971


What are the difference between static assemblies and dynamic assemblies?

1031


Hello, I want to connect a system in LAN and i want to access that.When ever i am moving a mouse in my desktop the similar thing have to happend in the another system in which i have connected. I need coding for this in c# and .NET . any one please help me.It is very urgent to me Advance thanks. my email id:manojkumarchallagundla@gmail.com

2654