User:Jeffj/CS3123/Homework/CSharp/notes

From A-State Computer Science Wiki
< User:Jeffj‎ | CS3123‎ | Homework‎ | CSharp
Revision as of 09:57, 4 February 2020 by Jeffj (Talk | contribs)

Jump to: navigation, search

Visual Studio 2019 - Windows, Mac

  1. Download software for your platform, Install
    Visual Studio 2019 Download [1]
    Install the software by executing the installation package (default components include C#)
    Further instructions on installation [2]
  2. Open Visual Studio
    Execute the Visual Studio in your applications
  3. Start Project
    Select option for "new" project on the menu
    Under ".NET Core", select "App"
    In the list, select "Console Application", make sure "C#" is selected in the drop-down
    Select "Next"
    Use default Target Framework, ".NET Core 3.1"
    Select "Next"
    Type "Hello" in the "Project Name", "Solution Name" will autofill
    Select "Browse" to choose the directory for Visual Studio projects
    Select "Create"
  4. Compile/Run
    In application menu, select "Run"->"Start Debugging"
    For more information on this process look at this website [3]

Visual Studio Code - Windows, Mac, Linux 1. Download software for your platform Visual Studio Code - https://code.visualstudio.com/download .NET Core (latest) - https://dotnet.microsoft.com/download/dotnet-core 2. Install Extensions for Microsoft C# development - https://code.visualstudio.com/docs/languages/csharp 3. New file 4. Start terminal 5. Compile/Run