left-pad-net Don't reinvent the wheel, use left-pad; install Install-Package left-pad https://www.nuget.org/packages/left-pad/