Monday, February 27, 2012

mutable, immutable, stack, and heap

value types are immutable (they cannot change) while reference types are mutable

value types go on the stack and reference types go on the heap

http://stackoverflow.com/questions/79923/what-and-where-are-the-stack-and-heap

No comments:

Post a Comment