List String Collection initialization error

Hi,

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.

@Greg_Cushing1

Can you write as below

New List(Of String())

Hope this may help you

Thanks

Hello @Greg_Cushing1 ,

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

Thanks!
Athira

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

new List<string>()

image

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.