You can use Enumerable.Last () :
string lastElement = list.Last().Last();
The first call will return the last List<string>, and the second will return the last line in this list.
Alternatively, since you know the length of the array, you can access the list directly and do:
string lastElement = list[2].Last();
If you know in advance that you will always have 3 lists with 3 elements, you might consider using a multidimensional array:
string[,] matrix = new string[3,3];
string last = matrix[2,2];
source
share