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?

Answers were Sorted based on User's Feedback



What is boxing and unboxing?..

Answer / maruthi

concept of boxing converting value type into reference type,
concept of unboxing converting reference type into value type.

Is This Answer Correct ?    8 Yes 0 No

What is boxing and unboxing?..

Answer / alb.shah

Boxing:- Creating a Instance of a object and passing the
value of a variable to that object
dim x as integer
dim y as object
y = x - Boxing process

x = y - unboxing

Unboxing :- passing a value of a object to the varible

Is This Answer Correct ?    6 Yes 0 No

What is boxing and unboxing?..

Answer / aejaz ahmad

Boxing is onverting a vlue type to refrence type (object
type)
Unboxing is converting reffrence type to value type as a
another value type

int i=0;
object o=i; //this is boxing
int i2=(int)o;//this is unboxing
long l=(long)i; //this is casting.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is custom tag in Web.Config?

0 Answers   Accenture,


Describe session handling in a webfarm?

0 Answers  


What is the difference between ExecuteReader,ExecuteNonQuery and ExecuteScalar.

8 Answers  


what is difference between User Control,Custom Contro1,Web server control and template controls

1 Answers  


how to add cliet side event to server side? and how to register client script to sever side? wt difference these two

3 Answers   PSI Data Systems,


What is http only cookie?

0 Answers  


How about the security in Activex DLL and Activex EXE ?

0 Answers   DELL,


How to Deploy a project?

2 Answers  


What is the difference between Trace and Debug?

2 Answers   BirlaSoft,


What methods are fired during the page load?

3 Answers  


Where code pages are used?

0 Answers   Blue Star,


write a sample code make use of xmltext writer

1 Answers   GCI,


Categories