When to use .ToArray when printing a list?

Hello,

I am confused with the .ToArray function in VB/Ui Path. Why sometimes when printing a list only requires String.Join("," sampleList) but sometimes requires String.Join("," sampleList.ToArray)?

E.g.

Check this below link, @quan9784

Hope this may help you :slight_smile: