here is my code
string[,] table = new string[104,6];
int xIndex = -1;
int yIndex = 0;
string newPrevious = "placeholder";
string[] strData = {"P ","B ","P ","PB ","P ",P "};
string OriginalData ="";
IEnumerator Win_Log(){
for(int i = 0; i < strData.Length; i++){
OriginalData += strData[i];
OriginalData += ",";
}
string[] newNewData = strData.Split(',');
foreach(string newStrData in newNewData){
if(table.GetLength(0) < xIndex){
break;
}
}
}
what i am trying to achieve here is that i need to compare the 3rd column of the table and check if there's a value on the 2nd row of the third column so something like this
i have table [104,6] so what i need to compare is table[3,1] and table [3,2].
how can achieve that