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

VB.Net Declaring Enumerations

Module constantsNenum
   Enum Num
      Gage = 1
      Asher = 23
      Taylor = 66
      Ozzy = 39
      Matt = 78
   End Enum
   Sub Main()
      If Gage.Num = 1 then Console.Writeline(Yes this is his correct number)
   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.