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

In a Code-Behind class generally which type of code is found ?

3 Answers   Siebel,


What is the basic difference between asp and asp.net?

0 Answers  


Explain ViewState?

0 Answers   QuestPond,


What is class and object in asp.net?

0 Answers  


What is viewstate?

5 Answers   Microsoft,






What threading model used in asp and asp.net?

0 Answers  


what are the oops concepts are used in your project?

1 Answers   AppShark, IBM, Kotak,


how to encrypt a connection string in web.config file?

3 Answers   Hexaware,


How can we Maintain more than on config file in one .Net web application and how?

1 Answers   USi,


How can you send an email message from an asp.net web page?

0 Answers  


What is application and session in asp.net?

0 Answers  


Elaborate differentiation between ViewState and SessionState?

0 Answers   QuestPond,


Categories