String to binary in C#
Binary number is a number expressed in the binary numeral system, or base-2 numeral system, which represents numeric values using two different symbols: typically 0 (zero) and 1 (one). More specifically, the usual base-2 system is a positional notation with a radix of 2. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by almost all modern computers and computer-based devices such as mobile phones. Each digit is referred to as a bit. (From Wikipedia)
in this Tutorial we will use :
- ToCharArray : Méthode to converts a string to a new character array
- StringBuilder : Class used for the dynamic string
- Convert.tostring : Méthode to convert a value to equivalent string
In the following video I will demonstrate you use the Methodes above