What is boxing?

Answers were Sorted based on User's Feedback



What is boxing?..

Answer / praveena

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

Is This Answer Correct ?    7 Yes 2 No

What is boxing?..

Answer / asha

BOXING IS DEFINED AS CONVERTING VALUE TYPES TO REFERENCES
TYPES .

Is This Answer Correct ?    5 Yes 2 No

What is boxing?..

Answer / swap

Boxing is the process of explicitly converting a value type
into a corresponding reference type. Basically, this
involves creating a new object on the heap and placing the
value there. Here is a basic example in C#:

int example = 35;
object i Example = example;

The new reference type includes the value 35.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Is .net capable of supporting multi-thread?

0 Answers  


Define code access security (cas)?

0 Answers  


asp mean

3 Answers   CTS, TCS,


Explain about managed heap?

0 Answers  


Is .net a compiler?

0 Answers  






What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?

0 Answers  


is c#.net supports multiple inheritance?

10 Answers  


I want to serialize instances of my class. Should I use xmlserializer, soapformatter or binaryformatter?

0 Answers  


Explain what are possible implementations of distributed applications in .net?

0 Answers  


explain the states of a window service application?

0 Answers  


Please explain what is the difference between a class and an object?

0 Answers  


Explain the Difference between value and reference type.

2 Answers   Infosys, Wipro,


Categories