Write some text based on the specified data type : Console Write « Language Basics « VB.Net Tutorial






Module Module1

    Sub Main()

        Console.Write(True)
        Console.Write(25)
        Console.Write("Some text.")
        Console.WriteLine()
        Console.WriteLine()
        Console.WriteLine(True)
        Console.WriteLine(25)
        Console.WriteLine("Some text.")
    End Sub

End Module
True25Some text.

True
25
Some text.








1.4.Console Write
1.4.1.Output string to the Console
1.4.2.Variable index
1.4.3.Write some text based on the specified data type
1.4.4.Concatenate strings in Console.WriteLine statement
1.4.5.Reference variable index in Console.WriteLine
1.4.6.Use Console.WriteLine to display various type variables