string[] strArray = { "sandeep", "singh", "shekhawat" };
string resultText = string.Empty;
foreach (string arrayItem in strArray)
{
resultText += arrayItem + ",";
}
resultText = resultText.Substring(0, resultText.Length - 1);
resultText = string.Join(",",strArray);