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 |
What are generics? why it is used? architecture of ASP.NET?
7 Answers Path Infotech, Satyam, TCS,
what is shared assembly asp net
Can I stream live content/events?
What is the difference between cookie and session?
How can you debug your.net application?
Where do we store our connection string in asp.net application?
What is the state management in asp.net?
When web.config is called ?
what is the cursor
Elaborate differentiation between ViewState and SessionState?
What is the difference between session and application?
in database table is thier . in that table fields are photoid , photoname,photo... i want display image in the gridview
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)