
iam beginner in C#,please help me to convert
VB.Net code to C# code..
Public Const name as integer = 1000
<StructLayout(LayoutKind.Sequential)> _
Public Structure VFMINUTIAE
Dim count As Integer
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=name), VBFixedArray(name - 1)> Dim C() As Byte
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=name * 2), VBFixedArray(name * 2 - 1)> Dim mm() As Integer
End Structure
'------------------------------------------------------------------
Public Function VFGetG(ByRef features As Object) As Byte
VFGetG = features(LBound(features) + 1)
End Function
thanks,
ivan