·  VB .NET - Syntax - Variables - Byte

 

- Info:

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

  - Byte data type is an 8-bit variable which can store value from 0 to 255.

 

- Procedure:

  - Create VB .NET Console Application Test.vb

 

    Test.java

    Module Module1

    

      Sub Main()

    

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

        Dim value As Byte

            value = 0

            value = 255       

    

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

        MsgBox(value)

     

      End Sub

    

    End Module