Answers for "vb.net iterate through array"

1

visual basic vb.net iterate and get array item

Module IterateArray
   Public Sub Main()
      Dim numbers = {10, 20, 30}

      For index = 0 To numbers.GetUpperBound(0)
         Console.WriteLine(numbers(index))
      Next
   End Sub
End Module
' The example displays the following output:
'  10
'  20
'  30
Posted by: Guest on May-26-2021

Code answers related to "vb.net iterate through array"

Browse Popular Code Answers by Language