Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

6.7 12-1A-32 While 3

Module VBModule
 
    Sub Main()
    
        dim AR() As String
        redim Preserve AR(100)
        
        dim cnt As Integer = 1
        dim ind As Integer = 1
        While cnt < 100
            cnt = cnt + 2
            AR(ind) = cnt
            ind = ind + 1
        End While
        Console.WriteLine(AR(5))

    End Sub
  
End Module

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.