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 |
Explain the asp.net mvc request life cycle? : asp.net mvc
What is semantic gap?
What is the difference between login controls and forms authentication?
What is the difference between mechine.config and web.config?
How to change Master page in ASP.Net using code?
1. What is Connection Pooling…? 2. Maintaining Sessions in ASP.NET 3. ASP.NET page lifecycle. 4. Can we store objects in sessions. 5. What is AJAX..? 6. Serialization/Deserialization. Why we use serialization and Deserialization…? 7. What are Arrays and Arraylist..? 8. Difference between Authentication and Authorization…? 9. Difference between abstract class and Interfaces 10. What is a view..? Does a view contain data..? 11. What are triggers..? 12. What are transactions..? 13. What is Metaview (oracle)..? 14. What is Inheritance..? How can we call a method from the base class..? 15. Can an abstract class have zero abstract methods..? 16. How to read from Message Queue..? 17. What is Metadata..? 18. You would prefer to have business logic in c# or DB Side..? Why…?
1 Answers Franklin Templeton, Sky InfoTech,
To match the two different controls which control would we use ?
What are the HTML server controls in ASP.NET?
Below is a code extract from an ASP.Net application. The code basically reads data from the “name” field in the “members” table and prints them onto the webpage. Using the assumptions provided, fill in the 4 blanks below so that the code will run correctly. ‘Assumptions: ‘conn_str is a variable that holds the connection string to the database ‘Objects dbcomm and dbread are already declared earlier dbcomm = New OleDbCommand("SELECT name FROM members", conn_str) dbread = dbcomm._______________ _____________________ response.write(_______________) _____________________ dbread.Close()
What is difference between singleton and single call?
What do you mean by caching in asp.net?
What asp.net control can embed xaml into asp.net pages?