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 boxing and unboxing?
What's the use of response.output.write()?
What are the action filters available in asp.net mvc
Which browsers support the xmlhttprequest object?
What are server-side comments in ASP.NET?
When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade..
3 Answers Allsec Technologies,
Master Page
Differentiate between file-based dependency and key-based dependency.
How do you do Client-side validation in .Net?
What is the lifespan for items stored in ViewState?
Define viewstate in .net?
What is the advantage of using Windows authentication in a Web application?
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)