how to convert array value to comma separated string in c# code example
Example 1: C#: convert array of integers to comma separated string
var result = string.Join(",", arr);
Example 2: convert comma separated string to array c#
string fruit = "Apple,Banana,Orange,Strawberry";
string[] split = fruit.Split(',');