A complete, minimal, and slightly sarcastic journey from beginner to advanced C# — built and documented step-by-step through 22 practical lessons.
This repository is designed for anyone who wants to understand C# fast, learn how modern applications are structured, and enjoy a bit of deadpan humor along the way.
All lessons are fully runnable, commented, and written with real-world structure.
Author: Tezas
Project Type: Educational (Free & Open Source)
Language: C# (.NET 8.0)
Total Lessons: 22
Goal: From “Hello World” to multi-layer enterprise structure
| # | Topic | Focus |
|---|---|---|
| 01 | System Console Basics | Output, console manipulation |
| 02 | Variables and Strings | Declaration, assignment |
| 03 | Numeric Operations and Data Types | Math and type handling |
| 04 | User Input and Conversion | Input parsing and casting |
| 05 | Conditional Statements | if, else, logical flow |
| 06 | Loops and Iterations | for, while, do-while, break/continue |
| 07 | Methods and Parameters | Functions, arguments |
| 08 | Exception Handling | try, catch, finally |
| 09 | Classes and Properties | OOP basics |
| 10 | Static, ReadOnly, Const | Constant and static usage |
| 11 | Inheritance and Abstraction | OOP relationships |
| 12 | Interfaces and Implementation | Contracts and polymorphism |
| 13 | Enums and Switch | Enumerations and control flow |
| 14 | Namespaces and Generics | Code organization |
| 15 | Collections and LINQ | Lists, queries, iterations |
| 16 | StringBuilder and File I/O | Text manipulation, file handling |
| 17 | Async and Threads | Parallel execution |
| 18 | Intro to MVC | Structure and separation of logic |
| 19 | Razor Pages Intro | Simple rendering logic |
| 20 | Final Boss Project | Complex console project |
| 21 | Savage Refactor | MVC-style enterprise refactor |
| 22 | Final Boss Enterprize | Full layered app (Controllers, Data, Models, Services, Views) |
- Progressive difficulty: builds step-by-step from basics to enterprise
- Real-world structure: MVC, dependency injection, namespaces
- Deadpan humor: minimal emotion, maximum clarity
- UTF-8 ready: supports €, ©, and other civilized symbols
- Enterprise finale: multi-layered architecture with full DI setup
- .NET 8.0 SDK or newer
- IDE: Visual Studio 2022+ or VS Code with the C# Dev Kit
- Open the full Visual Studio solution: CSharp22ExSolution\CSharp22ExSolution.sln
This single solution loads all 22 C# projects — each folder (ex001_... to ex022_...) represents one lesson.
- To run any specific lesson:
- Right-click its project → Set as Startup Project
- Press F5 or Ctrl+F5
- Or from the terminal:
cd ex006_LoopsAndIterations dotnet run##🧾 License This repository is released as free educational material. You may reuse, modify, and share it — just keep the author’s credit. Learning is free. Refactoring your life isn’t.
##⚡ About Created by Tezas Network Engineer • Developer • Student Believes that learning C# should be practical, structured, and mildly sarcastic.
This project stands on a simple truth: someone has to teach you the foundations before you can build anything worth looking at.
Credit goes to my C# instructor, Michail Kasapoglou, whose lessons shaped the core concepts behind these exercises.
Every example here is rewritten, reorganized, expanded, and explained in my own style —
but the starting point, the mindset, and the discipline came from his teaching.
Thumbs up. 👍