It's a simple question; I am a newbie in C#, how can I perform the following
- I want to convert an array of integers to a comma-separated string.
I have
int[] arr = new int[5] {1,2,3,4,5};
I want to convert it to one string
string => "1,2,3,4,5"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…