示例#1
0
        static void Main(string[] args)
        {
            int x = 1;

            while (x < 10)
            {
                IHomework05 yayo  = new homewark();
                String      ledNo = Console.ReadLine();
                string      waa   = yayo.DisplayLEDOnScreen(ledNo);
                Console.WriteLine(waa);
            }
        }
示例#2
0
        static void Main(string[] args)
        {
            int x = 1;

            while (x < 10)
            {
                IHomework05 con   = new homewark();
                String      ledNo = Console.ReadLine();
                string      sum   = con.DisplayLEDOnScreen(ledNo);
                Console.WriteLine(sum);
            }
        }