C# Caesar Shift decryption stops showing shifts after a number of shifts and shifts get longer
问题 I am developing a Ceaser Cipher which decrypts the .TXT file attached. It's got to show all possible shifts and results in the decrytped text. But what I have got so far just shows about 8 shifts and each shift is getting longer with more text which is not meant to happen. Can someone help me identify the problem in the below code? public class Program { public static void Main(string[] args) { string text = System.IO.File.ReadAllText(@"FilePath"); string file; int shift = 0; string decoded