Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace ConsoleApp5
- {
- class Program
- {
- static void Main(string[] args)
- {
- for (int i = 0; ; i++)
- {
- Console.Write("Введите сообщение: ");
- string userInput = Console.ReadLine();
- if (userInput == "exit")
- {
- break;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment