Format Exception - input string was not in a correct format : <p>I found a problem - when I run this program, Visual Studio throws an exception - Format exception: Input string was not in a correct format. </p>

<pre><code>        string name = Console.ReadLine();
        int age = int.Parse(Console.ReadLine());
        int id = int.Parse(Console.ReadLine());
        double salary = double.Parse(Console.ReadLine());
        Console.WriteLine($"Name: {name}");
        Console.WriteLine($"Age: {age}");
        Console.WriteLine($"Employee ID: {id:D8}");
        Console.WriteLine($"Salary: {salary:F2}");
</code></pre>

<p>Unfortunately, I can't find a mistake here. Can you help me, please? Or this is a bug in Visual Studio?</p>
