Advertisement
SPavelA

Untitled

Jul 29th, 2023 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.33 KB | None | 0 0
  1.             string messageInput = "";
  2.             string messageExit = "exit";
  3.             while (messageInput != messageExit)
  4.             {
  5.                 Console.Write($"Введите сообщение (для выхода введите \"{messageExit}\"):");
  6.                 messageInput = Console.ReadLine();
  7.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement