·  VB .NET - Syntax - Variables - Boolean

 

- Info:

  - This tutorial shows how to create Boolean and convert it to other Data Types.

  - Boolean data types is 16-bit variable which can store values True or False.

 

- Procedure:

  - Create VB .NET Console Application Test.vb

 

    Test.vb

    Module Module1

    

      Sub Main()

    

        'CREATE.------------------------------------------------------------

        Dim value As Boolean

            value = True

            value = False

    

        'DISPLAY.-----------------------------------------------------------

        MsgBox(value)

     

      End Sub

    

    End Module