char k = '';
            int str = (int)k;
            Console.WriteLine(str);

结果25104就是‘成’对应的ASCII值

 

相关文章: