What is boxing and unboxing?
Answers were Sorted based on User's Feedback
Answer / sri4u_926
Boxing: Converting of Stack based values into the Heap
Based values i.e coverting of a value type to a reference
type is the Boxing.
UnBoxing is vice versa.
| Is This Answer Correct ? | 41 Yes | 1 No |
Answer / maloy.adhikari
Converting a value type to reference type is called Boxing
and Converting reference type of value type is Unboxing.
int i = 1;
object o = i; // boxing
int j = (int)o; // unboxing
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / gowtham
Boxing: To convert value type to reference type.
UnBoxing: To convert reference type to value type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / zeenat
Boxing:- Creating a Instance of a object and passing the
value of a variable to that object
dim x as integer
dim y as object
y = x - Boxing process
x = y - unboxing
Unboxing :- passing a value of a object to the varible
| Is This Answer Correct ? | 13 Yes | 17 No |
Explain how you can send the result back in JSON format in MVC?
Is there built-in support for tracing/logging
The order of the filters that get executed, if the multiple filters are implemented?
Tell me the best web-sites for Learning the ASP DOT NET.
How do I install .net framework?
Explain dependency resolution?
How do assemblies find each other?
what is csdl?
What is an asynchronous controller in asp.net mvc?
What is a model in android?
What does mvvm mean?
How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?