[c#] How to Remove the last char of String in C#?

YourString = YourString.Remove(YourString.Length - 1);