Exemple #1
0
    static void Main(string[] args)
    {
        using (StreamReader reader = File.OpenText(args[0]))
            while (!reader.EndOfStream)
            {
                string[] line = reader.ReadLine().Split(';');
                if (line == null) continue;

                Lcd lcd = new Lcd(line[0]);

                Console.WriteLine(lcd.CanDisplay(line[1]) ? 1 : 0);
            }
    }