Difference between revisions of "User:Jeffj/CS3123/Homework/CSharp/notes"

From A-State Computer Science Wiki
< User:Jeffj‎ | CS3123‎ | Homework‎ | CSharp
Jump to: navigation, search
Line 1: Line 1:
 
Visual Studio 2019 - Windows, Mac
 
Visual Studio 2019 - Windows, Mac
 
# Download software for your platform, Install
 
# Download software for your platform, Install
** Visual Studio 2019 Download [https://visualstudio.microsoft.com/downloads]
+
#:Visual Studio 2019 Download [https://visualstudio.microsoft.com/downloads]
** Install the software by executing the installation package (default components include C#)
+
#: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]
+
#:Further instructions on installation [https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2019]
 
# Open Visual Studio
 
# Open Visual Studio
** Execute the Visual Studio in your applications
+
#:Execute the Visual Studio in your applications
 
# Start Project
 
# Start Project
** Select option for "new" project on the menu
+
#:Select option for "new" project on the menu
** Under ".NET Core", select "App"
+
#:Under ".NET Core", select "App"
** In the list, select "Console Application", make sure "C#" is selected in the drop-down
+
#:In the list, select "Console Application", make sure "C#" is selected in the drop-down
** Select "Next"
+
#:Select "Next"
** Use default Target Framework, ".NET Core 3.1"
+
#:Use default Target Framework, ".NET Core 3.1"
** Select "Next"
+
#:Select "Next"
** Type "Hello" in the "Project Name", "Solution Name" will autofill  
+
#:Type "Hello" in the "Project Name", "Solution Name" will autofill  
** Select "Browse" to choose the directory for Visual Studio projects
+
#:Select "Browse" to choose the directory for Visual Studio projects
** Select "Create"
+
#:Select "Create"
 
# Compile/Run
 
# Compile/Run
** In application menu, select "Run"->"Start Debugging"
+
#: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]
+
#: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:57, 4 February 2020

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