You have Jagged Array return type and you need to return two dimensional Rrectangular Array, You can return two dimensional array like this.
public String[,] GetAllItems()
{
//your code
String[,] xx = new String[arrayZise,2];
//your code
return xx;
}
1
solved String Array type method return type error [closed]