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

How ccw (com callable wrapper) and rcw (runtime callable wrappers) works?

1 Answers  


Explain the difference between static page and dynamic page?

1 Answers  


What does mean by .net framework?

1 Answers  


Explain the difference between garbage collections in .net 4.0 and earlier versions?

1 Answers  


Name for built-in permission sets in .Net

1 Answers  


What is Ajax? How it is related to your project?

1 Answers   Wipro,


Explain memory-mapped files.

1 Answers  


What is a serviced component?

1 Answers  


What is exception handling?

1 Answers   Amazon,


What is meant fulltrust?

1 Answers  


Explain how com+ related to the dna architecture?

1 Answers  


What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?

1 Answers  


Categories