string text = "hello";
char[] ch = text.ToCharArray();
for (var x=0; x<text.Length; x++)
{
Console.Write(ch[x]++);
}
This is my current code which produces "hello" as output.
Expecting output to be "ifmmp" as every character is incremented by 1.