Add emails to list

I want to add a string to a list of strings. The strings are the display names of emails that i am looking through, however i keep getting errors. any help would be great. Names is a list of strings and reportCount is a counter variable.


You can add values to the list by using Add method.


And also if you want to add multiple items then use For each loop and inside use Add to Collection activity.

Thank you. i do want to add multiple strings within a loop… do you know why this add to collection is not working? NamesList is a ICollection