C#

C#

intermediate

Java, but Microsoft-flavored. Honestly, quite good.

C# is a modern, statically typed language from Microsoft built on the .NET platform. It's the language of Unity game development, Windows desktop apps, and enterprise backends. It evolves rapidly and has some genuinely excellent features.

Unity Game DevASP.NET Web AppsWindows DesktopEnterprise Software
0%
0/9 lessons

Setup

C# runs on .NET, which is now cross-platform (Linux, macOS, Windows). Install the .NET SDK and you're ready to go.

Bash
# Download the .NET SDK from dotnet.microsoft.com
# Or via winget:
winget install Microsoft.DotNet.SDK.8

# Verify:
dotnet --version

# Create and run a new project:
dotnet new console -n MyApp
cd MyApp
dotnet run

Lessons

1
Hello, World!
C# has evolved dramatically. Modern C# (12+) lets you write Hello World in one l
2
Variables & Types
C# has a rich type system with value types, reference types, and nullable types.
3
Control Flow
C# control flow is classic C-family. The highlight is pattern matching in switch
4
Methods & Properties
In C#, properties are special class members that look like fields but act like m
5
Collections
C# has a rich set of collection types in System.Collections.Generic. List<T> is
6
Classes & OOP
C# is a thoroughly object-oriented language. Classes, inheritance, interfaces, a
7
LINQ & Async/Await
LINQ is what makes C# shine for data manipulation. async/await is what makes C#
8
Mini Project: Simple Calculator
A console calculator that evaluates expressions and tracks history, using everyt
9
C# Cheatsheet
Modern C# on one page — records, LINQ, async, pattern matching.