Chapter 1: C# Intro
Apr 6, 2021
Step1: Installation:
- Go to Download .NET (Linux, macOS, and Windows) (microsoft.com) and install the .NET Framework — our development environment
- Go to Download Visual Studio 2019 for Windows & Mac (microsoft.com) and download Visual Studio — our IDE, using C#9.0
- (Optional) Go to Get Started With Unity — Download & Install the Unity Editor — Unity Store and download Unity — IDE for game dev
Start with the Classics
The classic “Hello World” in C#:Console.WriteLine(“Hello World!”);
The Visual Studio Environment (it’s a lot to type, thankfully Visual Studio pre-writes a bunch for you):
using System;
namespace HelloWorld {
class Program {
static void Main(string[] args) {
Console.WriteLine(“Hello, world”);
} }
Good References
- Exercise — “Hello World!” — Learn | Microsoft Docs
- Beginning C# Programming with Unity by A.T. Chamillard