Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RPVUnityDeveloper/90eadfb7f9dadf8d5a19f526e27b8180 to your computer and use it in GitHub Desktop.
Save RPVUnityDeveloper/90eadfb7f9dadf8d5a19f526e27b8180 to your computer and use it in GitHub Desktop.
Контроль выхода
public class Class
{
static void Main()
{
string wordExit = "exit";
string word = "";
while (word != wordExit)
{
Console.Write("Введите слово: ");
word = Console.ReadLine();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment