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

What is a design pattern and what is it for?

0 Answers  


Explain why do we use the “using” statement?

0 Answers  


What is the difference between asp.net & vb.net and explain architecture?

0 Answers  


How Can Creating Installation Components in .Net?

1 Answers  


How is .net able to support a lot of languages?

0 Answers  






What are .net applications?

0 Answers  


What does stateless mean?

0 Answers   BirlaSoft,


What is the Difference between a sub and a function?

9 Answers   Wipro,


Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

1 Answers   Siebel Systems,


What does mean by .net framework?

0 Answers  


Explain how to rename a table using sql queries?

0 Answers  


Which namespace does it belong to by default?

0 Answers  


Categories