What is difference between value and reference types ?

Answer Posted / nitin kumar tomar

Value types directly contain their data while reference
types store a references to variable's value memory
and value types uses stack to store data amd reference
types use heap to store data

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by unicode characters?

571


What is static and use of it?

473


What is static void main in c#?

506


What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?

555


Explain the process of polymorphism with an example?

478






Which of these statements correctly declares a two-dimensional array in c#?

652


Explain the process of abstraction with an example?

510


Explain the Different types of configuration files in .net?

576


What do you mean by casting a data type?

550


How long can a string be c#?

511


What is difference between override and new in c#?

512


What are the various components in crystal reports?

506


Is c sharp free?

544


What is dataadapter c#?

481


Are arrays value types or reference types?

538