C# Fundamentals
A structured course from your first lines of code to building your own small program.
16 chapters · 128 lessonsBeginner friendlyFreeRuns in the browser
What you will learn
- Understand code, output, and errors.
- Store data meaningfully.
- Express rules.
- Control repetition.
- Organize multiple values.
- Decompose code.
- Dynamic data and inputs.
- Model data and behavior.
- Master states and rules.
- Plan and implement.
- Deepen language features.
- Persistent data storage.
- Non-blocking code.
- Automate code testing.
- Organize code scalably.
- Develop complex application.
Course content
Chapter 1 Your First Program
Understand code, output, and errors.
- Code and Run
- Hello World
- Multiple Outputs
- Comments
- Debugging
- Introduction
- Structure
- Project Start
Chapter 2 Values and Types
Store data meaningfully.
- Integers
- Strings
- Combination
- Booleans
- Type Inference
- Character Card
- Type Casting
- Data Model
Chapter 3 Math and Decisions
Express rules.
- Math
- Comparisons
- If-Else
- Else If
- Logic
- Discount Rules
- Switch
- Decision Tree
Chapter 4 Loops
Control repetition.
- For Loop
- While Loop
- Infinite Loops
- Break/Continue
- Nested Loops
- Simulation
- Do-While
- Round System
Chapter 5 Arrays and Data
Organize multiple values.
- Create Arrays
- Index
- Modify Values
- Foreach
- Statistics
- Inventory
- Multi-dimensional Arrays
- Data Analysis
Chapter 6 Methods
Decompose code.
- First Method
- Parameters
- Return Values
- Scope
- Edge Cases
- Refactoring
- Overloading
- Structured Simulation
Chapter 7 Collections and Inputs
Dynamic data and inputs.
- Lists
- Elements
- Dictionaries
- Parsing
- Robust Input
- Inventory Management
- LINQ Basics
- Data Tool
Chapter 8 Classes and Objects
Model data and behavior.
- Class vs Object
- Fields
- Constructors
- Properties
- Methods
- Player Model
- Inheritance
- Object System
Chapter 9 Clean and Reliable Code
Master states and rules.
- Naming
- Enums
- Null
- Test Cases
- Debugging
- State Model
- Interfaces
- Robust System
Chapter 10 Your Own Project
Plan and implement.
- Planning
- Data Model
- Core Logic
- Error Handling
- Refactoring
- Documentation
- Extension
- Conclusion
Chapter 11 Advanced Concepts
Deepen language features.
- Delegates
- Events
- Generics
- Extension Methods
- Lambda
- LINQ Deep Dive
- Exceptions
- Framework Usage
Chapter 12 File Processing
Persistent data storage.
- File System
- Reading
- Writing
- CSV Format
- JSON Serialization
- Robust IO
- Data Migration
- Database Simulation
Chapter 13 Asynchrony
Non-blocking code.
- Threads
- Tasks
- Async/Await
- Waiting
- Task Errors
- Parallel Data
- Cancellation
- Async Project
Chapter 14 Unit Testing
Automate code testing.
- Test Basics
- Asserts
- Test Methods
- Test Data
- Mocking
- TDD Approach
- Coverage
- Test Suite
Chapter 15 Architecture Basics
Organize code scalably.
- SOLID Principles
- Dependency Injection
- Namespaces
- Design Patterns
- Refactoring Techniques
- Modularization
- Code Review
- Architecture Project
Chapter 16 Final Project
Develop complex application.
- Requirements
- Architecture Design
- Implementation I
- Implementation II
- Testing
- Documentation
- Refactoring
- Presentation
How each lesson works
No hour-long videos. Each lesson is a short loop you complete yourself, until the idea sits.
Read
A short explanation and one clear task. Just enough to get going.
Write
You type the code yourself, in a real editor right in the browser.
Run
Run it and see what your program actually does, straight away.
Check
Check tells you whether the task is solved, and what is missing if not.
Good to know
- Nothing to install: editor, output and checks run in your browser tab.
- Start as a guest without an account; your progress stays on this device.
- A free Ostrae account syncs progress and settings across devices and unlocks the MICA coach.
- You write real C# syntax. In the browser it runs on a simplified C# interpreter, not a full .NET compiler, which keeps things fast and install-free.