我是这样做的:我把计算器上所有的字符都用变量保存。默认时候就是普通的字符。
我想让那个字符高亮就用参数去通知,让另一个字符去替换他。
看代码吧:


        //打印计算器...............
        static void print(string number,int index)
        {

            string[] charNumber = new string[] { "1 ", "2 ", "3 ", "4 ", "5 ", "6 ", "7 ", "8 ", "9 " };
            string[] charDnumber = new string[] {"①", "②", "③" , "④", "⑤", "⑥", "⑦", "⑧", "⑨" };

              if(index>0&&index<10)
              {
                  charNumber[index-1] = charDnumber[index-1];
              }


            Console.Write("\n\n\n\n\t\t\t┏");
            Console.Write("━━━━━━━━━");
            Console.WriteLine("┓");
            Console.WriteLine("\t\t\t┃\t\t    ┃");
            int count = 0;                  
            count = number.Length;
            Console.Write("\t\t\t┃");
            for (int i = 0; i < 18 - count; i++)
            {
                Console.Write(" ");
            }
            Console.Write(number);
            Console.WriteLine("┃");
            Console.WriteLine("\t\t\t┃------------------┃");
            Console.WriteLine("\t\t\t┃  " + charNumber[0] + "   " + charNumber[1] + "   " + charNumber[2] + "  . ┃");
            Console.WriteLine("\t\t\t┃\t\t    ┃");
            Console.WriteLine("\t\t\t┃  " + charNumber[3] + "   " + charNumber[4] + "  " + charNumber[5] + "   + ┃");
            Console.WriteLine("\t\t\t┃\t\t    ┃");
            Console.WriteLine("\t\t\t┃  " + charNumber[6] + "   " + charNumber[7] + "   " + charNumber[8] + "  - ┃");
            Console.WriteLine("\t\t\t┃\t\t    ┃");
            Console.WriteLine("\t\t\t┃  0    =    /   * ┃");
            Console.WriteLine("\t\t\t┃\t\t    ┃");
            Console.WriteLine("\t\t\t┗━━━━━━━━━┛");           
        }

呵呵 是不是很弱智