2
Follow the code (works):
var teste = 1;
var teste1 = teste.ToString("000000");
Upshot:
000001
Follow another code (does not work):
var teste = "1";
var teste1 = teste.ToString("000000");
Upshot:
cannot Convert from 'string' to 'System.Iformatprovider'
How can I convert string
for ToString
with a result "000001"?