Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- const string ExitCommand = "exit";
- while (Console.ReadLine() != ExitCommand)
- {
- Console.WriteLine("Программа работает!");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment