Valuetype/reference type?

Answer Posted / nitin

Value type directly contain their data in stack and
reference type store a reference to variable's memory
address

value type uses stack and reference type uses 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 tryparse?

519


What is overriding in c#?

496


What is a decimal c#?

472


What is Implicit conversion in C#?

567


Why do we need dependency injection in c#?

463






What is a clr (common language runtime)?

485


If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.

558


What are the 2 kinds of data type conversions in c#?

511


What is virtual in c#?

480


What does convert toint32 mean?

511


What is readline c#?

491


What is generic types in c#?

509


Write the syntax for catching an exception in c#?

491


Which sorting algorithm is best?

563


Define c# delegate?

524