.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


 
Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions
 
Quick Links For Interview Questions Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  OOPs  JQuery  JavaScript/VBScript
BiztalkPatten/Practices.IISWCFWPFWWF
NetworkingAptitudeOthers  All    

What is boxing and unboxing?

Author: shahin          Posted Date: 29/05/2009     Category: ASP.Net     Points: 10

Answer: Converting a value type to reference type is called Boxing and Converting reference type of value type is Unboxing.

int i = 1;
object o = i; // boxing
int j = (int) o; // unboxing





Product Spotlight

Featured Articles


Caching Interview Questions - Part 2
In this section we will touch base on one of important concepts in .Net Caching ... Read More
Inversion of control (IOC) and Dependency injection (DI)
In this section we will discuss about how IOC and DI can help us build loosely coupled software architecture. I am not sure should we call this a design pattern or more of a approach. If you search around the web you will see lot of controversy on whether IOC is a design pattern or not. From my point of view it is a design pattern as it solves a problem context. ... Read More
Main Differences between ASP.NET 3.5 and ASP.NET 4.0 - Part 1
ASP.NET 3.5 is having the following main features which are not availablle in the prior releases 1) AJAX integration 2) LINQ 3) Automatic Properties 4) Lambda expressions.... Read More
You can also find related Interview Question to What is boxing and unboxing? or other FAQ from the same ASP.Net category  Below: 

You may also interested to read below Questions and their Answers

Latest Interview Questions From Same Category

 

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend