VB.Net Program to Demonstrate the Difference Between Console.write() And Console.writeline() Methods

You are currently viewing VB.Net Program to Demonstrate the Difference Between Console.write() And Console.writeline() Methods

VB.Net program to demonstrate the difference between Console.Write() and Console.WriteLine() methods

'Program to demonstrate the difference between 
'Console.Write() and Console.WriteLine() method.

Module Module1

    Sub Main()
        Console.WriteLine("This is line1")
        Console.WriteLine("This is line2")
        Console.Write("This is line3")
        Console.Write("This is line4")
        
        Console.ReadLine()
    End Sub

End Module

Output

This is line1
This is line2
This is line3This is line4

Ranjith Kumar

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Reply