When reading a file and subsequent transformations, the original numbers from the file in the string format are shortened. The file itself has 2 numbers with a length of more than 50 characters.
The task relates to the topic "algorithms of long arithmetic". I tried to write data to an array and output it, and it turns out the same shortened result.
Tell me, please, what could be the problem?
Code Listing:
class Program { static void Main(string[] args) { List<string> number1 = (File.ReadAllLines("G:\\subtraction.txt")).ToList(); File.WriteAllLines("G:\\output_substraction.txt", number1); foreach (var s in number1) { Console.WriteLine(s); } Console.ReadLine(); } } 
number1? To begin to identify the problem area. - Bulson