Tuesday, 4 September 2012

Shallow Copy and Deep Copy


Shallow copy versus deep copy is only meaningful with "reference types" and not with "value types".

Shallow Copy
http://0.tqn.com/d/visualbasic/1/0/4/a/dsgnshlwdeepcopy-1.gif
Deep Copy
http://0.tqn.com/d/visualbasic/1/0/6/a/dsgnshlwdeepcopy-Dup.gif


No comments:

Post a Comment