reference type
A type whose variables hold a reference to an object, not the object itself.
A reference type (class, interface, delegate, record class, string, array) is stored on the managed heap; assignment copies the reference, so two variables can refer to the same object.
Loading interactive…
Examples
After
Cart b = a;,aandbrefer to the same cart, sob.Items.Add("tea")shows up ina.Itemstoo.
See also