C# Printing Integers with leading zeroes
I’m writing this down because I find that I’ve googled it a couple of times and it always seems to take longer to figure out than I think it should. Say you have a number, but you want it to be padded with leading zeroes. So, 42 => 00042. In my case, I was trying … [Read more…]