关于int型转换为string型的问题比如说 int a=4; string b; b=a.tostring();但是b输出的是4,我想要它输出的是04该怎么办呢?就是不管a是1位数还是2位数,b输出都要是2位数,应该怎么做呢? [解决办法]
a.PadLeft(2,"0");