Navin Malik
How we adjust multiple object memory in one place?
By Navin Malik in ASP.NET on May 05 2013
  • Navin Malik
    May, 2013 5

    One of the method of the Object is MemberwiseClone()  method. Through this we can create a shallow copy by creating a new object and then copying the nonstatic field of current object to the new field.

    If a field is a value type,a bit by bit copy of the field is performed
    If a field is a reference type, the reference is copied but the reference object is not, therefore, the original object and its clone refer to the same object.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS