Explain the Difference between value and reference type.
Answer Posted / kinjal
c# provides a set of datatypes. datatypes of c# contain two categories one is value type and another is reference type.
value type is a variable. datatype value store in variables while a variable of a reference type stores a reference to the data.
both value type and reference type have one common thing - both derived from system.object.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Please explain the difference between constants and read-only variables?
What is func in .net 3.5?
What is typical about a windows process in regards to memory allocation in .net?
What is msil, il?
Define marshling?
What are the differences between com architecture and.net architecture?
What is the concept of inheritance in .net?
What is "microsoft intermediate language" (msil)?
What is namespace in .net?
What does .net stand for?
Explain the .net framework overview?
How to Create and Consume a Web Service?
What is the difference between server.transfer and response.redirect? Why?
What is Polymorphism? How does VB.NET/C# achieve polymorphism?
How do you define the lease of the object in .net?