主题:VB中的Lset转换到C#
Public Type A_int
IntVal As Integer
End Type
Public Type A_single
SinVal As Single
End Type
Public Type ReturnSin
ByteArray(3) As Byte
End Type
Public Type ReturnInt
ByteArray(1) As Byte
End Type
在函数中
Dim Value As A_single
Dim i As Integer
Dim bytearr As ReturnSin
[color=FF0000]LSet Value = bytearr [/color]
如何转换C#?