Last Updated: September 29, 2021
·
59.39K
· iondrimba

Convert simple int array to string C#

int[] array = {1,2,3,4,5};

string ids = String.Join(",", array.Select(p=>p.ToString()).ToArray());

//output  = "1,2,3,4,5";
  NODES
Community 1
Csharp 3
iOS 2
Javascript 4
node.js 1
os 6