Ok, this is a dumb thing that I\'m sure I\'ve done dozens of times but for some reason I can\'t find it.
I have an array... And want to get a string with the content
If you have an array of strings
you can call String.join(String, String[]). You can use it even if you don't have an array of strings
, you just have to be able to convert your objects
to strings
object[] objects = ...
string[] strings = new string[objects.Length];
for (int i = 0; i < objects.Length; i++)
strings[i] = objects[i].ToString();
string value = String.Join(", ", strings);