This code works as it should
foreach (char c in partToDecode) { var sum = c - 48; if (sum > 40) { sum = sum - 8; } string suma