Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have tried googling a lot but none of the posts/articles gave satisfactory solution.
I have a doubt that how type casting is different from boxing/unboxing and does boxing means converting value type to reference type or value type to type object.

Thanks,
Ankur.
Posted
Comments
Sergey Alexandrovich Kryukov 22-Sep-14 16:01pm    
As nearly always, the question about "difference" makes no sense. What difference? Boxing may appear as a part of casting and assignment, so this question is the same as asking "what is the difference between typing text and pressing keys on the keyboard?".
—SA

1 solution

 
Share this answer
 
Comments
CPallini 22-Sep-14 15:15pm    
5.
Kornfeld Eliyahu Peter 22-Sep-14 15:52pm    
Thank you!
Sergey Alexandrovich Kryukov 22-Sep-14 16:02pm    
Yes, it is there; a 5. See also my comment to the question :-)
—SA
Kornfeld Eliyahu Peter 22-Sep-14 16:09pm    
Thank you!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900