what is reference type to value type.
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / suresh
1.Reference type varible data store on Heap memory,refernce
maintain in Stack memory.
Is This Answer Correct ? | 0 Yes | 1 No |
In a Code-Behind class generally which type of code is found ?
What is the basic difference between asp and asp.net?
Explain ViewState?
What is class and object in asp.net?
What is viewstate?
What threading model used in asp and asp.net?
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?
How can we Maintain more than on config file in one .Net web application and how?
How can you send an email message from an asp.net web page?
What is application and session in asp.net?
Elaborate differentiation between ViewState and SessionState?