Imports System
public class MainClass
Enum Temperatures
CelsiusMeetsFahrenheit = -40
WickedCold = 0
FreezingPoint = 32
LightJacketWeather = 60
SwimmingWeather = 72
BoilingPoint = 212
End Enum
Shared Sub Main()
Console.WriteLine("Freezing point of water: {0}",CType(Temperatures.FreezingPoint, Integer))
Console.WriteLine("Boiling point of water: {0}",CType(Temperatures.BoilingPoint, Integer))
End Sub
End Class
|