Console.WriteLine : Console « System « VB.Net by API






Console.WriteLine

  
Imports System

public class MainClass
    Shared Sub Main()
         Dim twelve As Integer = 12
         Dim five As Integer = 5

         Console.WriteLine("{0} + {1} = {2}", _
             twelve, five, twelve + five)

         Console.WriteLine("{0} - {1} = {2}", _
             twelve, five, twelve - five)

         Console.WriteLine("{0} * {1} = {2}", _
             twelve, five, twelve * five)
    End Sub
End Class

   
    
  








Related examples in the same category

1.Console.BackgroundColor
2.Console.Clear()
3.Console.ForegroundColor
4.Console.LargestWindowHeight
5.Console.ReadKey
6.Console.ReadKey.KeyChar
7.Console.ReadLine()
8.Console.Title
9.Console.WindowHeight
10.Console.WindowWidth