I want to remove last three characters from a string:
string myString = \"abcdxxx\";
Note that the string is dynamic data.
I read through all these, but wanted something a bit more elegant. Just to remove a certain number of characters from the end of a string:
string.Concat("hello".Reverse().Skip(3).Reverse());
output:
"he"