Questionaries.org
Login
Register
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.
Let us know at info@questionaries.org
Difference between boxing and unboxing?
2
like
0
dislike
Hello guys,
What is the difference between boxing and unboxing?
Please tell me about this topic.........
Thanks in advance..............
asked
1 year
ago
by
daneim
(
127,080
points)
boxing
unboxing
aspdotnet
1 Answer
1
like
0
dislike
Best answer
Boxing allows us to convert value types to reference types. Basically, the runtime creates a temporary reference-type box for the object on heap.
Eg:
int i=20;
object o=i;
answered
1 year
ago
by
marck_don
(
191,010
points)
Related questions
3
like
0
dislike
1
answer
What is boxing?
asked
1 year
ago
by
marck_don
(
191,010
points)
boxing
aspdotnet
2
like
0
dislike
1
answer
Difference between a.Equals(b) and a == b?
asked
1 year
ago
by
daneim
(
127,080
points)
difference
aspdotnet
4
like
0
dislike
1
answer
What is the difference between an EXE and a DLL?
asked
1 year
ago
by
daneim
(
127,080
points)
exe
dll
difference
aspdotnet
3
like
0
dislike
1
answer
Difference between a Thread and a Process?
asked
1 year
ago
by
daneim
(
127,080
points)
difference
thread
process
aspdotnet
4
like
0
dislike
1
answer
What inheritance is and an example of when you might use it?
asked
1 year
ago
by
marck_don
(
191,010
points)
inheritance
aspdotnet