提示的错误是啥意思啊!运行不了 谢谢各位的帮助了先
static void Main(string[] args)
{
int[,] a = new int[3, 4] { { 1, 2, 3, 5 }, { 4, 5, 6, 5 }, { 1,5,9,8} };
int[,] b = new int[4, 2] { { 1, 5}, { 4, 5 }, { 5, 1}, { 1,5} };
int [,]c=new int[3,2];
for(int i=0;i <3;i ++)
for (int j=0;j <2;j ++)
for(int k=0;k <4;k++)
c[i ,j ]+=a[i ,k ]*b [k ,i ];
for(int i=0;i<3;i++)
{
for(int j=0;j<2;j++)
Console .Write("{0,4:d}",c[i,j ]);
Console .WriteLine();
}
Console.ReadLine();
}
------解决方案--------------------------------------------------------
错误提示是什么?
------解决方案--------------------------------------------------------