I have an array structured like this:
{"nick", "sender", "message"}
arranged into a List<string[]>.
What I want to do, is to search the list using the 0 index value of the array (ie nick).
I tried using:
list.Find(i => i[0].Equals(nick))
but this doesn’t seem to do anything.
How would I do this?
I think this what you want
It will return a
IEnumerable<string[]>where nick if the first element in eachstring[]