User:Jeffj/CS3123/Homework/CSharp/notes
Visual Studio 2019 - Windows, Mac 1. Download software for your platform, Install - https://visualstudio.microsoft.com/downloads/ Install the software by executing the installation package (default components include C#) - https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2019 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 - https://docs.microsoft.com/en-us/visualstudio/ide/quickstart-csharp-console?view=vs-2019
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