I have the following
data.AppendFormat(\"{0},\",dataToAppend);
The problem with this is that I am using it in a loop and there will be a t
Yes, convert it to a string once the loop is done:
String str = data.ToString().TrimEnd(',');