G
Guest
I am converting a sample VB program to C#, and I stopped at lines of code I
dont know how to write in C#, that is the Redim statement.
In the VB:
Private Function DoSomething(ByRef lBegin() as Long) As Boolean
'some codes
ReDim lBegin(0) '
lBegin(0) = 0 ' how do i write this 2 lines in C#?
' some codes
Return True
End Function
Thanks in advance
Jason
dont know how to write in C#, that is the Redim statement.
In the VB:
Private Function DoSomething(ByRef lBegin() as Long) As Boolean
'some codes
ReDim lBegin(0) '
lBegin(0) = 0 ' how do i write this 2 lines in C#?
' some codes
Return True
End Function
Thanks in advance
Jason