Exemple #1
0
        public static void Main()
        {
            LineReader reader = new LineReader();
            string s;

            while ((s = reader.ReadLine("> ")) != null)
            {
                Console.WriteLine("----> [{0}]", s);
            }
        }
Exemple #2
0
 public IndentationModel(LineReader lineReader)
 {
     _lineReader = lineReader;
     _lineStart = 0;
 }