Computer Science, asked by muthu4847, 1 year ago

With this type the variables each have their own copy of data

Answers

Answered by PawanBk
2
Variables of value types directly contain their data whereas variables of reference types store references to their data, the latter being known as objects. With reference types, it is possible for two variables to reference the same object and thus possible for operations on one variable to affect the object referenced by the other variable. With value types, the variables each have their own copy of the data, and it is not possible for operations on one to affect the other (except in the case of 'ref' and 'out' parameter variables).
Similar questions