Convert.ToInt32 : Convert « System « VB.Net by API






Convert.ToInt32

  
Imports System
Imports System.Text
Imports System.Text.RegularExpressions


Public Class MainClass
    Shared Sub Main(  )
        Dim blnTrue As Boolean = True
        Dim blnOne As Boolean = 1
        Dim blnNegOne As Boolean = -1
        Dim blnFalse As Boolean = False
    

        If Convert.ToInt16(blnNegOne) = 1 Then
          Console.WriteLine(blnFalse)
          Console.WriteLine(Convert.ToString(Convert.ToInt32(blnFalse)))
        End If

    End Sub 'Main

   
End Class

   
    
  








Related examples in the same category

1.Convert.FromBase64String
2.Convert.ToBase64String
3.Convert.ToInt64
4.Convert.ToSingle
5.Convert.ToUInt16