What will be the equivalent code for Format(iCryptedByte, "000") (VB) in C# ?
Thanks
What will be the equivalent code for Format(iCryptedByte, "000") (VB) in C# ?
Thanks
Another very useful site for C# string formatting: http://blog.stevex.net/string-formatting-in-csharp/
Instead of {0:D3} you can also use the zero placeholder, e.g. {0:000} will pad with zeros to minimum length of three.