I want to display one byte in textbox. Now I\'m using:
Convert.ToString(MyVeryOwnByte, 2);
But when byte is has 0\'s at begining those 0\'s
Pad the string with zeros. In this case it is PadLeft(length, characterToPadWith). Very useful extension methods. PadRight() is another useful method.
PadLeft(length, characterToPadWith)
PadRight()