ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1546. Japanese Sorting

How to stop inputing string in C#? While s != String.Empty or... ?
Posted by Crazy_serbs 21 Apr 2007 16:31
Re: How to stop inputing string in C#? While s != String.Empty or... ?
Posted by Peter Huggy (Pskov) 2 May 2007 12:24
while (true)
{
    string s = Console.ReadLine();
    if (s == null)
        break;
    // process s
}