creating a c# console program
 
home | 163 | 202 | 244 | 253 | 355   .   courses | advisees | faq | honesty | schedule   .   webHelp | unixHelp | c*Help | asmHelp

    programming
 0. Translate algorithm into C#

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

  3. visual studio
  4. 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


  5.   Only use "SAVE ALL" when saving your project!


  6. 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
    visual studio
  7. 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
  8. Check now for LOGIC ERRORS
freedom through discipline

Valid XHTML 1.0 Transitional