WHAT IS BOXING? HOW WE CAN USE IT?
Answers were Sorted based on User's Feedback
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 ? | 2 Yes | 0 No |
Answer / murugavel
it is implicit convertion for value type to refference type
int x=10;
object y;
x=y;//boxing
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / saiish bhat
Boxing is implicit conversion of value type to type object.
ex:
int i = 123;
int j = i; // boxing
| Is This Answer Correct ? | 2 Yes | 2 No |
Changing Value types i.e.,int,double etc in to reference
type i.e., object is called boxing
| Is This Answer Correct ? | 0 Yes | 1 No |
What is Pre-Render event in ASP.NET?
Why SessionID changes in every request in asp.net?
Tell about WebService in Asp.Net?
What do you understand by aggregate dependency?
What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)?
What does the "EnableViewState" property do? Why would I want it on or off?
How to set/get parent page values in child page in asp.net
Uses of CLR ?
2 Answers Mind Tree, PH Software, TCS,
How would you get ASP.NET running in Apache web servers - why would you even do this?
How can you handle unmanaged code exceptions in asp.net?
Describe the difference between inline and code behind - which is best in?
What is the difference between c# and .net?
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)