Summary: C# Fundamentals Cheat Sheet

Beginner Updated February 11, 2025

🔍 Summary: C# Fundamentals Cheat Sheet

+----------------------+-----------------------------+
| Concept              | Syntax / Example            |
+----------------------+-----------------------------+
| Variable Declaration | int x = 10;                 |
| Output               | Console.WriteLine("Hi");    |
| Conditional          | if (x > 5) { ... }          |
| Loop (for)           | for (int i=0; i<5; i++)     |
| Method               | static void Greet() { ... } |
| Class                | class Car { ... }           |
| Object               | Car c = new Car();          |
| List                 | List<int> nums = new();     |
| Exception Handling   | try { ... } catch { ... }   |
+----------------------+-----------------------------+