Reputation: 75
Trying to upgrade this VB6 code to C# but I have trouble understanding or researching how this works:
Public Sub SetChannelIncludeStatus(blnChanIncluded() As Boolean, intMaxChans
As Integer, strSlot As String)
How is it possible to include another sub like that as parameter? How do I do it in C#?
Upvotes: 1
Views: 75
Reputation: 13008
It isn't passing a procedure - blnChanIncluded()
is actually an array. VB6 array and function syntax is similar.
Upvotes: 1