AjTalk.Test02.Program.ProcessStream C# (CSharp) Méthode

ProcessStream() private static méthode

private static ProcessStream ( StreamReader reader ) : void
reader System.IO.StreamReader
Résultat void
        private static void ProcessStream(StreamReader reader)
        {
            string line = reader.ReadLine();

            while (line != null)
            {
                string [] words = line.Split(' ');

                if (words.Length>0)
                    ProcessLine(words,reader);

                line = reader.ReadLine();
            }
        }