9951 explained code solutions for 126 technologies


c#How to reverse the characters in a string


String.Join("",("1234Simple").Select(c=>c).Reverse());ctrl + c
String.Join("",

concatenate one or more characters in a single list or array, by using empty "" string literal separator

.Select(c=>c)

select each and every other character in a string into an array of characters

.Reverse()

reverse each and every one elements in an array or list