what are value types and reference typesthe value


What are Value types and Reference types

The Value types directly contain their data which are either allocated on the stack or allocated in-

 Line in a  structure. The Reference types store a reference to the value's memory address, & are allocated on the heap. Reference types can be self-describing types, interface types or pointer types.

Variables which are value type have their own data copy, & thus operations on one variable do not affect other variables. Variables that are reference type can refer to the same object; therefore, operations on one variable can affect the same object referred to by another variable. All types are derived from the System. Object base type.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what are value types and reference typesthe value
Reference No:- TGS0161181

Expected delivery within 24 Hours