List String Collection initialization error


I am use to following the guides for initialization of a string list.

I am not sure what I am doing wrong. As I use to use this method in earlier versions of studio. If i download xaml workflows from that time frame 2021 they initialize collections properly.


Can you write as below

New List(Of String())

Hope this may help you


Hello @Greg_Cushing1 ,

can you try:
new list(of string())


You are using C#, so the syntax should be:

new List<string>()


1 Like

ptrobot nailed it, I must have selected the wrong options. Thank you!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.