I have to declare n = 01.
Nut whenever i try its getting changed as 1.
Wat should i Do ?
I have to declare n = 01.
Nut whenever i try its getting changed as 1.
Wat should i Do ?
If this is just for display purposes then I would use the .ToString("0#"), unless you really need to do calculations based on two significant figures.
For index As Integer = 1 To 100
Console.WriteLine(index.ToString("0#"))
Next
Gives you 01 02 . . 100