Output Format for Integer : Console « Development « VB.Net
- VB.Net
- Development
- Console
Output Format for Integer

Imports System
Public Class MainClass
Shared Sub Main(ByVal args As String())
Dim myInt As Integer = 7
Console.WriteLine("Initialized myInt: {0}", myInt)
myInt = 5
Console.WriteLine("After assignment myInt: {0}", myInt)
End Sub
End Class
Related examples in the same category