Difference between revisions of "User:Jeffj/CS3123/Homework/CSharp/notes"
From A-State Computer Science Wiki
< User:Jeffj | CS3123 | Homework | CSharp
(Created page with "Visual Studio 2019 - Windows, Mac 1. Download software for your platform, Install - https://visualstudio.microsoft.com/downloads/ Install the software by executing the in...") |
|||
Line 1: | Line 1: | ||
Visual Studio 2019 - Windows, Mac | Visual Studio 2019 - Windows, Mac | ||
− | + | # Download software for your platform, Install | |
− | + | ** Visual Studio 2019 Download [https://visualstudio.microsoft.com/downloads] | |
− | + | ** Install the software by executing the installation package (default components include C#) | |
− | + | ** Further instructions on installation [https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2019] | |
− | + | # Open Visual Studio | |
− | + | ** Execute the Visual Studio in your applications | |
− | + | # 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" | |
− | + | # Compile/Run | |
− | + | ** In application menu, select "Run"->"Start Debugging" | |
− | + | ** For more information on this process look at this website [https://docs.microsoft.com/en-us/visualstudio/ide/quickstart-csharp-console?view=vs-2019] | |
− | + | ||
Visual Studio Code - Windows, Mac, Linux | Visual Studio Code - Windows, Mac, Linux |
Revision as of 09:54, 4 February 2020
Visual Studio 2019 - Windows, Mac
- Download software for your platform, Install
- Open Visual Studio
- Execute the Visual Studio in your applications
- 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"
- 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