StringBuilder sb = new StringBuilder();
for (int i = 0; i < s.Length; i++)
{
sb.Append(Convert.ToChar(s[i] + 25));
}
return sb.ToString();
I am assuming you want to increment each character by 25 and convert it back to ASCI string. If just want to increment each character in string by 25 remove Convert.ToChar() function.
If you pass 12345 to above code you get back JKLMN.