Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _01._Read_Text
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- //while цикъл
- //повтаряме: четем текст + принтираме
- //стоп: текст == "Stop"
- //продълкжавам: текст != "Stop"
- string input = Console.ReadLine();
- while (input != "Stop")
- {
- Console.WriteLine(input);
- input = Console.ReadLine();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement