16进制格式化

a.ToString("x")可以把10变成a  
string.Format("{0:xxxx}", a)可以把10变成000a 

posted on 2018-08-23 17:33  马什么梅  阅读(313)  评论(0编辑  收藏  举报

导航