Can sıkıntısı! Eskiye,düşünmeye, yazmaya özlem
static void Main(string[] args){ string harf = "i'm the superstar"; byte[] bytes = System.Text.Encoding.ASCII.GetBytes(harf);
for (int j = 0; j < bytes.Length; j++) { for (int i = 7; i >= 0; i- -) { if(((bytes[j] >> i) & 1) == 1) Console.Write("1"); else Console.Write("0"); } } }
0110100100100111011011010010000001110100011010000110010100100000011100110111010101110000011001010111001001110011011101000110000101110010
Remember Me