
0. Translate algorithm into C#
- Open Microsoft Visual Studio
- Click on the desktop icon
OR Click Start menu and find
- New Project / Visual C#/ Console Application
- Enter Name for Project [HelloWorld] / ok * Note location and change if needed!!
-

- Enter Code!
Note: some of the code is filled in for you...
Module Module1
' Console Program in VB
Sub Main()
Console.WriteLine("Hello World!!")
End Sub
End Module
Only use "SAVE ALL" when saving your project!
- Build / Build helloWorld compiles the program
- If no syntax errors, message on status bar "Build Succeeded"
- 'Error List' window opens at bottom if there are syntax errors - must FIX code

- Executing your newly compiled code:
- Debug / Start Without Debugging (ctrl-F5) - executes the code (to add button: 'Tools/Customize')
- Debug / Start Debugging - executes the code and allows you to stop execution
- Check now for LOGIC ERRORS
|