Thursday, September 10, 2009

What is BOXING and UNBOXING in C#?

BOXING in C# is the conversion of a VALUE type on stack to a OBJECT type on the heap. Vice-versa the conversion from an OBJECT type back to a VALUE type is known as UNBOXING and it requires type casting.

Share This!

No comments:

Powered By Blogger · Designed By Seo Blogger Templates