How to print Collection list in specified cell?

Hi Everyone,

Is there a way to print a collection list in a specified cell?

Example cell “A1”

I am trying to do it this way

image

but its not working

Please let me know

advance thanks to everyone

First you have convert the array(list ) values to string using string.Join and then write it to excel.

With a seperator: String.Join(“,” ArrayPreExisting)
With space as seperator: String.Join(" " ArrayPreExisting)