what is reference type to value type.

Answers were Sorted based on User's Feedback



what is reference type to value type...

Answer / suresh

convertion of Reference type to value type is called
UnBoxing.

ex: int x;
object obj=20;

x=Convert.ToInt32(obj);

Is This Answer Correct ?    4 Yes 0 No

what is reference type to value type...

Answer / sudhir sheoran

Value Types:-
Directly contains their values either
on stack or inline in a structure.

Each value types have their own copy of
data so doesn't effect each other.

Reference Type:
Contains a reference to the values memory address
Allocated on heap.
These can be self describing,pointer type or interface type
Reference type can refer to the same object.

Is This Answer Correct ?    0 Yes 0 No

what is reference type to value type...

Answer / suresh

1.Reference type varible data store on Heap memory,refernce
maintain in Stack memory.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Can we have a web application running without web.config file?

0 Answers  


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

0 Answers   Honeywell, Wipro,


Why select Web API?

0 Answers  


What is the use of mcommand ? mcommand.fill(ds,"orderdetails");

1 Answers   Netsweeper,


What is runat?

0 Answers  






Using code explain Configuration Management

0 Answers  


What’s the difference between asp.net web forms and asp.net mvc?

0 Answers  


How you can manage the state of application at the server side in ASP.NET?

0 Answers  


how to transfer the file from client to server using asp.net

0 Answers   Sans Pareil IT Services,


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

0 Answers  


Is post back property in asp net?

0 Answers  


how we declare interface

2 Answers  


Categories