title: Try-catch FormatException
body: <p>I'm trying to catch the FormatException when someone tries to enter something else than numerals into int IloscPracownikow but I don't really understand how that should work. I tried doing it with strings but then, that int has to be used in the List which has an int in it.</p>
  
  <pre><code>                int IloscPracownikow = Int32.Parse(Console.ReadLine());
                  try
                  {
                      object age = IloscPracownikow;
                  }
                  catch (FormatException)
                  {
                      Console.WriteLine("Podaj liczbe, debilu");
                  }
  
                  Console.WriteLine("Podaj rok zalozenia firmy.");
                  int Rok = Int32.Parse(Console.ReadLine());
  
                  listaFirm.Add(new Firma(NazwaFirmy, IloscPracownikow, Rok));
  </code></pre>