variable which is a copy of another, it changes the original
I change the value of a variable which is a copy of another, it changes the original variable also, i am using copy from one object to another , i checked this is causing due to ref type but after reintialising to another object issue was the same. Please suggest.
Vishvjit ShindePosted Mar 9, 2020, 1:53 AM
Sankar BPosted Feb 21, 2020, 1:13 AM
MemberwiseClone()Creates a shallow copy of the current System.ObjectRajanikant HawaldarPosted Feb 20, 2020, 9:23 AM