What is boxing and unboxing ?
Answer Posted / kirti
Boxing :- Boxing is an implicit conversion of a value type to the type object type
Eg:-
Consider the following declaration of a value-type variable:
int i = 123;
object o = (object) i;
Boxing Conversion
UnBoxing :- Unboxing is an explicit conversion from the type object to a value type
Eg:
int i = 123; // A value type
object box = i; // Boxing
int j = (int)box; // Unboxing
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you mean by passport authentication?
How do you implement distributed applications in .net?
Types of compatabilities and explain them ?
Are you aware of containment and Aggregation ?
What are static assemblies and dynamic assemblies. Differences between them?
Difference between web services & remoting?
Which one is better WebService and Remoting ?
What is a formatter in .net remoting?
About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?
What are static assemblies?
Explain Singleton design pattern of Remoting?
What are the security features in .net remoting?
Can you explain remoting?
What are the difference between static assemblies and dynamic assemblies?
Hello, I want to connect a system in LAN and i want to access that.When ever i am moving a mouse in my desktop the similar thing have to happend in the another system in which i have connected. I need coding for this in c# and .NET . any one please help me.It is very urgent to me Advance thanks. my email id:manojkumarchallagundla@gmail.com