ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

VB.Net program to demonstrate the use of the 'vbTab' constant

Here, we are going to demonstrate the use of the 'vbTab' constant in VB.Net.
Submitted by Nidhi, on December 11, 2020

Here, we will print tab space using the "vbTab" constant on the console screen.

Program/Source Code:

The source code to demonstrate the use of the "vbTab" constant is given below. The given program is compiled and executed successfully.

'VB.Net program to demonstrate the use of "vbTab".

Module Module1

    Sub Main()
        Console.WriteLine("Name   :" & vbTab & "Alex")
        Console.WriteLine("Age    :" & vbTab & "18")
        Console.WriteLine("Class  :" & vbTab & "12")
    End Sub

End Module

Output:

Name    :   Alex
Age     :   18
Class   :   12
Press any key to continue . . .

Explanation:

In the above program, we created a module Module1 that contains a function Main(). In the Main(), function we printed the student detail, here we used the "vbTab" constant to print tab space on the console screen.

VB.Net Basic Programs »



ADVERTISEMENT



ADVERTISEMENT



Comments and Discussions

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.