I have a List<string[]> called lst:
[0] "ABC" "DEF" "GHI"
[1] "JKL" "MNO" "PQR"
[2] etc, etc...
How do I add another string to the end of each lst member?
string s = “EndOfBlock”;
[0] "ABC" "DEF" "GHI" "EndOfBlock"
[1] "JKL" "MNO" "PQR" "EndOfBlock"
[2] etc, etc...
Thank you.
As the commenters have noted, it sounds like you really want a
List<List<string>>. But if you want to stick with aList<string[]>, here’s how I’d expand each array.