Monday, May 31, 2010

C#-Shallow Copy Vs Deep Copy.

Shllow Copy:- shallow copy creates new instance of same type of object.and non-static fields are copied into that object.If it is value type, bit-to-bit it will copy or if its reference type, only reference will be copied.


Deep Copy:-deep copy of an object duplicates everything directly or indirectly referenced by the fields in the
object. it uses IClonable interface and clone() method.

aravindbenator@gmail.com

1 comment:

  1. what are the enents between a request and response of a web page

    ReplyDelete