What is boxing?
Answers were Sorted based on User's Feedback
Answer / praveena
Boxing is an implicit conversion of a value type to the
type object
Is This Answer Correct ? | 7 Yes | 2 No |
Answer / asha
BOXING IS DEFINED AS CONVERTING VALUE TYPES TO REFERENCES
TYPES .
Is This Answer Correct ? | 5 Yes | 2 No |
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 |
Why inheritance is important?
Explain when should you use .net web forms over asp.net mvc?
What is the single responsibility principle?
What are virtual destructures?
Explain the difference between asp.net & vb.net and explain architecture?
What is reflection and what is it for?
How do I spawn a thread?
What does msil do?
How can you instantiate a tuple?
Can you configure a .NET Remoting object via XML file?
What is the difference between asp.net & vb.net and explain architecture?
How can I tell if .net 3.5 is installed?