我需要将int转换为bin并使用额外的位.
string aaa = Convert.ToString(3, 2);
它返回11,但我需要0011,或00000011.
11
0011
00000011
怎么做?
c# binary
binary ×1
c# ×1