它输出的是a的ASCII代码. 是可以的.

解决方案 »

  1.   

    A char can be implicitly converted to ushort, int, uint, long, ulong, float, double, or decimal. However, there are no implicit conversions from other types to the char type.char能隐式转换成ushort,int,uint,long,ulong,float, double, or decimal.但不能反过来!------------------------------
    我是一只小小鸟
    欢迎交流!尽管问我吧,我会帮你解决的!
    尽快结帖哦!我是CSDN的菜鸟,我想获得一颗星!支持我吧!
    MSN&Mail: [email protected]