What is difference between value and reference types?

Answer Posted / surya

Value Type holds the data within this own memory allocation.

where as Reference Type contains a pointer to another
memory location that holds the data.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can one use hcl and c sharp together?

1589


What is session variable in c#?

557


What is threading in c# with example?

452


Why array is faster than arraylist in c#?

487


What are the types of inheritance in c#?

494






What is Satellite Assemblies ?

550


What are delegates and why are they required?

504


What is object pool in .net?

526


Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards

1470


What is the difference between interface and abstract class in c#?

459


How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?

597


What is args c#?

532


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

1532


What are Indexers in C#?

583


What are the types of assembly available

501