Argument 1: Konvertierung von „int[,]“ nach „int[][]“ CS1503
ist nicht möglich
Code: Select all
using System;
public class Program
{
public static void Main(string[] args){
testing Test = new testing();
if(Test.test(Test.array) == true){
//code
}
}
}
class testing{
public int[,] array = {{10,0,25,7},
{5,0,30,10}};
public bool test(int[][] array){
int count = 0;
for (int i = 0; i < array.GetLength(1); i++){
if(array[i][4]