Hola a todos y gracias antemano, miren tengo la siguiente funcion hecha en
VB6 y lo quiero migrar a c#
Private Function MapaBits(aCad As String)
Dim F(1 To 64) As Boolean, c As String
Dim i As Integer, j As Integer
Dim bit As Integer, Indice As Integer
Indice = 1
For i = 1 To 8
c = Asc(Mid$(aCad, i, 1))
bit = 128
For j = 1 To 8
F(Indice) = c And bit
Indice = Indice + 1
bit = bit / 2
Next
Next
MapaBits = F
End Function
Bien he hecho gran parte de la migración pero no entiendo la linea de codigo
siguiente "F(Indice) = c And bit", haber si me ayudan que lo q dice y como
seria en C#, gracias.
Leer las respuestas