Let's say that I have an array.
string[] temp = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j" };
I want to join them with comma per 3 items like below.
string[] temp2 = { "a,b,c", "d,e,f", "g,h,i", "j" };
I know I can use
string temp3 = string.Join(",", temp);
But this gives me the result as
"a,b,c,d,e,f,g,h,i,j"
Does anyone have an idea?