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

Is void a class?

471


What is the purpose of a constructor in c#?

457


Explain the security with aop?

644


What is the difference between an integer and int?

472


Can namespace contain the private class?

488






if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.

1912


What is dll in c#?

501


What are the Uses of CLR

751


Can multiple inheritance implemented in c# ?

531


Explain the difference between private and shared assembly?

455


What are the Types of caching

537


What are the differences between a class and a struct?

473


What is difference between value and reference types in C#.NET

509


List some of the common data providers for ado.net framework?

452


Which property of the textbox cannot be changed at runtime?

477