Dev .Net

Dev .Net

  • NA
  • 22
  • 4.6k

variable which is a copy of another, it changes the original

Feb 20 2020 9:13 AM
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.

Answers (3)