Remove last char of string c#

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

Comments

Popular posts from this blog

SQL Interview Questions and Answers

Generic Interface and Factory Pattern in C#

handling html attributes with dashes with htmhelper in mvc for Invalid anonymous type member declarator