Value types are stored in the Stack whereas reference types stored on heap.
Value types: int, enum , byte, decimal, double, float, long
Reference Types: string , class, interface, object
Value types: int, enum , byte, decimal, double, float, long
Reference Types: string , class, interface, object
No comments:
Post a Comment