Tuesday, December 26, 2017

Remove last comma in a string c# WinForms

string Something = "1,5,12,34,";
Something = Something.TrimEnd(',');