Hi,
you could look for this question in this forum itself for
a couple of days back.
anyway, for your benefit, here's the snippet
A Shallow copy create a new reference to the same object,
whether a deep
copy create a new reference to a new object, I think that
it will better
explained with a graphic, I will do something in paint to
better explain it
A shallow copy creates a new instance of the same type as
the original
object, and then copies the non-static fields of the
original object. If the
field is a value type, a bit-by-bit copy of the field is
performed. If the
field is a reference type, the reference is copied but the
referred object
is not; therefore, the reference in the original object
and the reference in
the clone point to the same object. In contrast, a deep
copy of an object
duplicates everything directly or indirectly referenced by
the fields in the
object
Irfan