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

I’m having some trouble with cas. How can I diagnose my problem?

0 Answers  


What are navigation controls? How many navigation controls are there in ASP.NET 4.0?

0 Answers   UGC Corporation,


You have multiline textbox and submit button. if you paste xml content into multiline textbox and hit submit button. what action will perform?

6 Answers   D&B,


Difference between .NET and previous version?

1 Answers   Microsoft,


What is routing in MVC?

0 Answers   Infosys,






What is a web farm?

0 Answers  


Explain the difference between AutoPostBack and IspostBack in ASP.NET?

0 Answers   Sans Pareil IT Services,


When working with ASP.Net server controls, it is important to use the right event handlers to capture the event for the application to function properly. What event would you use to capture the selection of a new item in a DropDownList control? a) The Click event. b) The SelectionChanged event. c) The SelectionIndexChanged event. d) The ChangedSelection event.

4 Answers   Syntax Softtech,


What is http request and response?

0 Answers  


What do you understand by aggregate dependency?

0 Answers   MindCracker,


A brief difference between Session and Cookies in asp.net

5 Answers   HCL, HCL Comnet,


What can we do with asp.net?

0 Answers  


Categories