Answers

Question and Answer:

  Home  C# (Sharp) Programming Language

⟩ Difference between value and reference type.

what are value types and reference types?

Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort

Value types are stored in the Stack

Reference type - class, delegate, interface, object, string

Reference types are stored in the Heap

 203 views

More Questions for you: