If, like your additional comment clarifies, you want to delete a whole row that contains a specific 'filmcounter', you can do a few different things.
So using this example data:
List<string[]> filmlist = new List<string[]>()
{
new[] { "0", "1", "2", "3", "4", "5", "6" },
new[] { "0", "1", "2", "3", "4", "5", "6" },
new[] { "0", "1", "2", "3", "4", "5", "7" },
};
string filmcounter = "6";
To delete all rows that contain the specified filmcounter value:
filmlist.RemoveAll(x => x.Contains(filmcounter));
To only delete the first row that contains the specific filmcounter value:
int index = filmlist.FindIndex(x => x.Contains(filmcounter));
if (index != -1)
filmlist.RemoveAt(index);
FindIndex in the second example will return the first index that contains the filmcounter value. We can then use this index to remove that row. It will return -1 if there are no matches.
>` instead. Then you can use the `.Remove()` or `.RemoveAt()` methods.
– John Alexiou Jan 18 '16 at 17:06