I want to turn an array or list of ints into a comma delimited string, like this:
string myFunction(List<int> a) {
return string.Join(",", a);
}
But string.Join only takes List<string>
as the second parameter. What is the best way to do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…