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? HOW WE CAN USE IT?

Answers were Sorted based on User's Feedback



WHAT IS BOXING? HOW WE CAN USE IT?..

Answer / rahultripathi

There is two type datatype available Value and reference
type . value are stored in stack and reference type used
in heap . when we copy data from stack memmory to heap it
call Boxing .


Int32 x = 10; object o = x ; // Implicit
boxing
Int32 y = 10;
object obj = (object) y; // Explicit Boxing


Rahul Tripathi
raultripathi@myway.com

Is This Answer Correct ?    2 Yes 0 No

WHAT IS BOXING? HOW WE CAN USE IT?..

Answer / murugavel

it is implicit convertion for value type to refference type

int x=10;
object y;
x=y;//boxing

Is This Answer Correct ?    2 Yes 1 No

WHAT IS BOXING? HOW WE CAN USE IT?..

Answer / saiish bhat

Boxing is implicit conversion of value type to type object.

ex:
int i = 123;
int j = i; // boxing

Is This Answer Correct ?    2 Yes 2 No

WHAT IS BOXING? HOW WE CAN USE IT?..

Answer / a.mustaq ahmed

Changing Value types i.e.,int,double etc in to reference
type i.e., object is called boxing

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is Pre-Render event in ASP.NET?

0 Answers   MindCracker,


Why SessionID changes in every request in asp.net?

0 Answers   HCL,


Tell about WebService in Asp.Net?

5 Answers   Accenture, CTS,


What do you understand by aggregate dependency?

0 Answers   MindCracker,


What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)?

1 Answers   Net Solution,


What does the "EnableViewState" property do? Why would I want it on or off?

3 Answers  


How to set/get parent page values in child page in asp.net

3 Answers   Wipro,


Uses of CLR ?

2 Answers   Mind Tree, PH Software, TCS,


How would you get ASP.NET running in Apache web servers - why would you even do this?

1 Answers   Siebel Systems,


How can you handle unmanaged code exceptions in asp.net?

0 Answers  


Describe the difference between inline and code behind - which is best in?

0 Answers  


What is the difference between c# and .net?

0 Answers  


Categories