Interview Questions On C Sharp :: Explain Value type and reference type?

Ram Pothuraju






Value Type

Variables of value types directly contain their data.
Value types store in stack.

Reference Type

Variables of reference types store references to their data
Reference types store in Heap Memory.

Post a Comment

0Comments

Post a Comment (0)