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 |
What are Satellite Assemblies? How you will create this? How will you get the different language strings?
What is class library in .net
what is the default value of CHAR type?in C# using asp.net?
What is shared and repeatable inheritance?
What's typical about a windows process in regards to memory allocation in .net?
What is Global Assembly Cache (GAC) and what is the Purpose of it?
Explain how to load the contents of an xml file into an xmldocument object?
What is Entity Relationship Model in .NET?
When should I use .net core?
Why do we use the “using” statement?
Explain what is immutability, what is it for and how is it codified?
What is boxing in .NET?