System.Int32.ToString()可以指定自定义基数吗?

Gif*_*guy 3 .net string tostring

我想将inta 转换为a stringwith base36(0-9和az).

这是如何在.NET中完成的?

cdh*_*wie 7

唯一接近的是Convert.ToString(),它只允许转换为基数为2,8,10和16.您必须滚动自己的转换,或者在CodeProject上使用此示例.