Skip to content

Boxing and Unboxing

IT Notes → C# @ December 22, 2020

  • Boxing is the act of casting a value type instance to a reference type instance.
  • Unboxing reverses the operation, by casting the object back to the original value type and requires explicit conversion.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x