@aguspiza, I think you are confused about mutability/immutability, var and ref.
var means mutable. ref means object on the heap with reference semantics. They are somewhat orthogonal concepts.
@aguspiza, I think you are confused about mutability/immutability, var and ref.
var means mutable. ref means object on the heap with reference semantics. They are somewhat orthogonal concepts.