What is value type and reference type?

Answer Posted / sushma

value types store values,even if we copy that the orginal
one it is uneffected,even if we modify the copied one ,
the reference types stores refereneces of the object, if
copy that one ,it is effected,if we modify the copied one

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between mobile application and desktop application?

540


Is an interface a type c#?

620


Why c# is type safe?

615


What are the features of c#?

594


Why would you use untrusted verification?

624






Are constructors inherited c#?

582


What is Delegate and what is it used for ?

654


What is the meaning of int parse in c#?

587


What's difference between constants and static readonly?

617


How do you read an Excel sheet in C#?

628


What does the keyword “virtual” declare for a method or property?

626


How does dependency injection work c#?

581


What will a loop recorder show?

625


What is the difference between field and variable in c#?

557


How does it work?

598