I have a problem using the PadLeft method. I need to put some zeros in front of a string, but I can not. For example:
string value = "2001795";
string newValue = value.PadLeft(5, '0');
Theoretically, the string "newValue" should be set to "000002001795", right? But this is not working ...