Spocoman

01. Read Text

Nov 20th, 2021 (edited)
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ReadText
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             while (true)
  10.             {
  11.                 string input = Console.ReadLine();
  12.                 if (input == "Stop")
  13.                 {
  14.                     break;
  15.                 }
  16.                 Console.WriteLine(input);
  17.             }
  18.         }
  19.     }
  20. }
  21.  
Add Comment
Please, Sign In to add comment