GetCell メソッドから取得した配列セル オブジェクトを変更する必要があります。受け取ったオブジェクトを変更しようとしても、元のオブジェクトは変更されません。
これはコードでどのように見えるかです:
// this is in MyClass
A[,] arr = new A[100,500];
// this is in main class
MyClass GetAAt(Point p) { return myClass.arr[p.X,p.Y]; }
var a = GetAAt(new Point(23,45));
a = new A(); // this only changes the local `a` but not the arr[23,45]
ここで何が間違っていますか?