string s = 584.ToString().PadLeft(9, '0');
string str = String.Format("{0:000000000}", 584); // "000000584"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)