Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Lectures
- {
- class Program
- {
- static void Main()
- {
- string command = "";
- string stopWord = "exit";
- while (command != stopWord)
- {
- Console.WriteLine($"Для выхода введите '{stopWord}'");
- command = Console.ReadLine();
- Console.Clear();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment