Witam, tak jak w tytule mam mały problem. Mianowicie oto mój kod:
string tekst = Console.ReadLine();
int varInt;
varInt = int.Parse(tekst) //tutaj mam błąd;
Console.WriteLine(varInt);
ExceptionUnhandled
System.FormatException: 'Nieprawidłowy format ciągu'.
This exception was orginally thrown at this call stack:
[External Code]
Lekcja1.Program.Main(string[]) in Program.cs