I have a two dimensional array declared. It has two columns - filename and batch. I initialize it empty.
string[,] a_Reports = new string[,] { { "", "" } };
I have some code that resizes it and populates it. Everything is a string value. When I go to look up an element in the array like so:
int value1 = Array.Find<string>(a_Reports, element=>element.Equals(newFileName));
I get the error:
CS1503 Argument 1: cannot convert from 'string[*,*]' to 'string[]'
I've tried it every which way and nothing works. Please help me!!! I've spent hours on it already.
Array.Findonstring[,]