What is boxing? How we can use it?
Answers were Sorted based on User's Feedback
Answer / yoga
Boxing: convert the value types to reference type
Unboxing: Convert the reference type to value type
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / rahultripathi
There is two type datatype available Value and reference
type . value are stored in stack and reference type used
in heap . when we copy data from stack memmory to heap it
call Boxing .
Int32 x = 10; object o = x ; // Implicit
boxing
Int32 y = 10;
object obj = (object) y; // Explicit Boxing
Rahul Tripathi
raultripathi@myway.com
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / monu
Boxing is an implicitly method which is use to convert the
value type datatypes.
Unboxing is an Explicitly.
Int32 x = 20; object o = x ; // Implicit
boxing
Int32 y = 20;
object obj = (object) y; // Explicit Boxing
| Is This Answer Correct ? | 0 Yes | 0 No |
In which module you have worked in your .net project explain?
Are there resources online with tips on asp to asp.net conversions?
What is the difference between and ActiveX dll and control ?
what is the difference between console.writeline &console.output.writeline?
What kind of data we can store in viewstate?
Differentiate session and cookie
Can I read the hard disk serial # of the client computer using asp.net?
Does web services support data reader like pom project?
Can we use multiple forms in single asp.net application?
What is postback request?
About SOAP ?
What is server transfer?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)