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 Help Members By Posting Answers For Below Questions

How do we access crystal reports in .net?

796


Is there any attempt system for microsoft technology papers?

1512


What are the two main parts of the .net framework?

764


Can "this" be used within a static method?

777


What is a serviced component?

743


How does linq work?

765


What is a variable of implicit type and what is its scope?

685


When we use windows api in .net is it managed or unmanaged code?

778


Explain security measures exist for .net remoting in system.runtime.remoting?

753


In code behind class, name the type of code found. Is it the server side code or client side code?

995


Do you know what is linq?

795


Why SOAP is required?

900


How to prepare parametrized (with more than one parameters) crystal report. Please tell me the code procedure, if any body can?

714


Is .net capable of supporting multi-thread?

751


I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?

1758