VB.Net Tutorial/Language Basics/Introduction — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 15:54, 26 мая 2010
How to compile and run the code in this tutorial
Go to: Start->Programs->Visual Studio.NET->Visual Studio.NET Tools-> Visual Studio.NET Command Prompt, and type:
c:\examples>vbc example1.vb.
1.1.Introduction 1.1.1. How to compile and run the code in this tutorial 1.1.2. <A href="/Tutorial/VB/0020__Language-Basics/SimpleVisualBasicprogram.htm">Simple Visual Basic program.</a> 1.1.3. <A href="/Tutorial/VB/0020__Language-Basics/Writinglineoftextwithmultiplestatements.htm">Writing line of text with multiple statements.</a>
Simple Visual Basic program.
<source lang="vbnet">Module Tester
Sub Main() Console.WriteLine("Welcome to Visual Basic!") End Sub " Main
End Module</source>
Welcome to Visual Basic!
Writing line of text with multiple statements.
<source lang="vbnet">Module Tester
Sub Main() Console.Write("Welcome to ") Console.WriteLine("Visual Basic!") End Sub " Main
End Module</source>
Welcome to Visual Basic!