VB.Net/Language Basics/Variable
Версия от 16:40, 26 мая 2010; (обсуждение)
Multiply the numbers and display the results
Imports System
Public Class MainClass
Shared Sub Main()
"Declare variables and set their values
Dim intX As Integer = 5
Dim intY As Integer = 10
"Multiply the numbers and display the results
System.Console.WriteLine("The sum of " & intX & " * " & intY & " = " & _
intX * intY)
End Sub
End Class