Page 54 在算数运算中使用字符

namespace CH03
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = '3' + '4';
            char c = (char)n;
            System.Console.WriteLine(n);
            System.Console.WriteLine(c);
            System.Console.ReadKey(true);
        }
    }
}
posted @ 2011-11-29 16:26  jacky_j2ee  阅读(105)  评论(0编辑  收藏  举报