请问有什么方法可以使用以下结构中的变量创建二维数组吗?
public struct Marks
{
public int midyearly;
public int finalyear;
public Marks(int midyearly, int finalyear)
{
this.midyearly = midyearly;
this.finalyear = finalyear;
}
public override string ToString()
{
return "(" + midyearly + "," + finalyear + ")";
}
}