I’ve been struggling for more than 30 minutes now over this should-be-simple thing, and I cannot find answer on google.
How can I initialize a 2-d list with data? I have tried:
Assign:
in_2dList = New List(Of List(Of String)) FROM {{“”, “”}, {“”, “”}}
in_2dList = New List(Of List(Of String))() FROM {{“”, “”}}
in_2dList = New List(Of List(Of String))() FROM {new {“”, “”}}
and more, but none of them worked. They all gave a compile error, and I don’t know what I am doing wrong.