i made two arrays..belonging to an object that i created Pieces. that object holds more objects (chess pieces).
now i gave it two references..
1) Pieces[,] temp = new Pieces[9, 9];
2) Pieces[,] pieces = new Pieces[9, 9];
now if i do this: temp[1, 1] = null;
the same change will happen in pieces[,] //
pieces[,] will change to null too. why is that?
cant i modify one object type without effecting the other?