I need to make a 40 digit counter variable. It should begin as 0000000000000000000000000000000000000001 and increment to 000000000000000000000000000
0000000000000000000000000000000000000001
000000000000000000000000000
You can use this too..
int number = 1; string tempNumber = $"{number:00}";
result:
01