Remove Last Character from String in C#

protected void Page_Load(object sender, EventArgs e)
{
    string mystring= "1,2,3,4,5,6,7,8,9,10,";
    string output= mystring.Remove(mystring.Length - 1, 1);
    Response.Write(output);
}
Ebook Download
View all
Learn
View all