Answer Posted / maloy.adhikari
Boxing is the process of converting a value type to the
type object or to any interface type implemented by this
value type. When the CLR boxes a value type, it wraps the
value inside a System.Object and stores it on the managed
heap. Unboxing extracts the value type from the object. In
the following example, the integer variable i is boxed and
assigned to object o.
Exam::
int i = 123;
object o = (object)i; // boxing
...........
o = 123;
i = (int)o; // unboxing
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
Which is better session or viewstate?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
In a Repeater control how one can provide an alternating color scheme ?
What is Web API?
how can create login from create and written conde in asp.net
What is asp.net used for?
What is the difference between system.stringbuilder and system.string
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
What is session object? Describe in detail.
How many types of session state management options available in asp.net?
Mention the namespace that is used to include .net data provider for sql server in .net code?
What is postback pixel?
What is the use of service provider?