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 are the types of serialization?

509


How to find type of variable?

537


What are class fields?

503


What is alias in c#?

534


What is enumerable in c#?

472






Is there regular expression (regex) support available to c# developers?

522


What is difference between for and foreach loop in c#?

528


What is console readkey ()?

525


Explain About web methods and its various attributes

510


Does console.writeline() stop printing when it reaches a null character within a string?

518


Why would you use untrusted verification?

534


What is parallel foreach c#?

508


What are verbatim strings in c#?

493


Why c# is called c sharp?

461


What is the .net datatype that allows the retrieval of data by a unique key?

454