I am using C# to create a small app. I need to name files in a recursive manner, incrementing the file names as they are created. I need a file name in the following format : "alt-001.tmp" "alt-002.tmp" and so on. I am always seeing the 00 removed before the incremented number, so for example, 001++ then returns 2 and not 002.

Thanks for your help and sorry if it sounds like a stupid question.