I suggest go for a new method something like this:
public string toString(int[] x)
{
string r = "";
foreach (int i in x)
{
r = r + "," + i.ToString();
}
return r;
}
modify
r = r + "," + i.ToString();
according to ur output
I don't suggest overload because this is very long way for u to do a small task.
I hope this will help u.