Read a list from c#

I know this is a simple question but I’m stacked here.
In python is so easy to perform this operation but in C# I don’t know the exact type of input.
I just need to read a list and concatenate some substring.


Change the input type of value in the function signature from array to string. Do the same in the foreach statement.

1 Like

Unfortunately I tried before and it’s not working. I tried many type of input…

Change the input signature to a 2D list:
List<List<string>> value

The compiler is expecting a 1D list so the embedded foreach loop is therefore acting on characters hence the error.

As always you’re precious!