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 |
Tell me Asp.net Method Overriding.
How can you handle errors in Web API?
What are the different types of Session state management options available with ASP.NET?
Singleton Design pattern?How do you achieve it?
What New Features comes with ASP.NET Web API 2.0?
what is webservices ? and what is web server ?
what is satellite assembly in .net?
What is the difference between stored procedure vs function?
which is the new version of IIS SERVER
What are ASHX files?
What are Http handler ?
6 Answers Accenture, BirlaSoft, Satyam, Syntel,
What are triggers of an updatepanel?
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)