c# 如何得到一个字符的ASCII码

 

 

char a = '0';

int b = (int)a;

 

 

就这么简单..

posted @ 2017-03-08 18:28  代码工人有力量  阅读(10601)  评论(0编辑  收藏  举报