How to add string in System.Collections.Generic.IEnumerable<System.String>

Hi All,

I have a variable var1 of type System.Collections.Generic.IEnumerable<System.String> and I want to add str1 of type String i.e “C:\Users\ankumar\Documents\” in var1.

Any idea how can I do that?

Hi @anmolk171

Have you tried using for each item and set type as system.string and print the file

Ashwin S

1 Like

IEnumerable is only to view the contents of a collection.

1 Like

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