Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int Control()
- {
- int x;
- while (!int.TryParse(Console.ReadLine(), out x))
- {
- Console.WriteLine("Ошибка! Введено буквенное выражение");
- Console.WriteLine("Повторите попытку (нажмите на Enter)");
- Console.ReadLine();
- }
- return x;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement