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 a 307 redirect?
What are the types of caching in asp.net?
What is the compiled object?
Difference between dynamic query and static query ?
.Net Doesn't offer Deterministic Distruction ? a) True b) False
Where is session data stored in asp net?
What is windows active directory authentication?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
What is the file extension of web service?
i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have one item template (contains edit button) i want the code for update and cancelbuttons in edit item template and i want the code for edit button in itemtemplate. please help me
What is asp.net used for?
Can more than one person use the same login?