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 are the different session state management options available in asp.net?
What are the difference between function and stored procedure in .net programming language?
How can we Maintain more than on config file in one .Net web application and how?
What does mvc represent in asp.net? : asp.net mvc
Suppose you display a data having 200 records in a datagrid. Then you edit 100 records of them. Now when you will press update button,all 100 records should be updated in single shot rather than reading every record and updating. How to do it?
Define dll hell?
Is asp.net still used?
If there are two web.config files in a application which config files will get priority?
What is asp.net mvc? : asp.net mvc
How to sign out from forms authentication?
what is session ?how sessions are handeled in application? write the clauses of sql server in their order.
What is the meaning of TestApi?
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)