C# Remove The Last Character Remove The Last Letter Of A String

QueryValues.Remove(QueryValues.Length - 1)