Data Type VB.Net Tutorial

Option Strict On
Public Module Tester
   Public Sub Main()
      ' 
      Console.WriteLine(Val("c"c))                     
      Console.WriteLine(Val("1"c))                     
      Console.WriteLine(Val("-"c))                     
      Console.WriteLine(Val("9"c))                     
      Console.WriteLine()
   End Sub
End Module
0
1
0
9