what is boxing and unboxing?

Posted by I.veeresh under ASP.NET on 5/9/2008 | Views : 4133 | Status : [Member] | Replies : 4
what is boxing and unboxing?




Responses

Posted by: Lakn2 on: 5/16/2011 [Member] Starter | Points: 25

Up
0
Down
boxing menas converting value type to reference type.

unboxing menas converting reference type to value type.

Thanks&Regards
LakshmiNarayana Nalluri.

I.veeresh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 5/18/2011 [Member] [MVP] Bronze | Points: 25
Posted by: SheoNarayan on: 5/9/2008 [Administrator] HonoraryPlatinum

Up
0
Down
Converting a value type to reference type is called Boxing and Converting reference type of value type is Unboxing.


For more details see
http://dotnetfunda.com/interview/interview.aspx?qid=16

Regards,
Sheo Narayan
http://www.dotnetfunda.com

I.veeresh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Neeks on: 4/18/2009 [Member] Bronze

Up
0
Down
You can refer following links for further details
Boxing
http://msdn.microsoft.com/en-us/library/25z57t8s(VS.71).aspx
Unboxing
http://msdn.microsoft.com/en-us/library/b95fkada(VS.71).aspx

I.veeresh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response