-3
如何根据c#中给出的输入生成一个固定长度的字符串。在C中生成固定长度的字符串#
For example :
string s="1";
string newstring ;
I want the newstring to be "AB_000001";
// Similarly if
s="xyz";
//I want the newstring as
newstring = "AB_000xyz";
你们采取了什么样的方法来解决这个问题?你写了什么代码,为什么它不起作用? – Oded