Unboxing is conversion reference type back to value type.
E.g.: int i = 20;
string s =i.ToString(); //Box the int
int j = Convert.ToInt32(s); //UnBox it back to an int.
Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger
0 comments :
Post a Comment