Seven price
asked on
convert function
trying to convert this function to c#
trying to move from vb to c#
Function MakeByte(ByVal text As String) As Byte()
Dim i As Integer
Dim ba(text.Length - 1) As Byte
For i = 1 To Len(text)
ba(i - 1) = Asc(Mid(text, i, 1))
Next
Return ba
End Function
trying to move from vb to c#
Function MakeByte(ByVal text As String) As Byte()
Dim i As Integer
Dim ba(text.Length - 1) As Byte
For i = 1 To Len(text)
ba(i - 1) = Asc(Mid(text, i, 1))
Next
Return ba
End Function
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER