Is it possible to divide a function into sections, something like this?
Function myFunc
Section
Dim i As Integer = 0
...
End Section
Section
Dim i As Integer = 0
...
End Section
End Function
I understand that this can be done with
If True Then
Dim i As Integer = 0
...
End If
but it seems like a hack
Am I going about it wrong?
source
share