A structured learning repository combining theory (Intro) and hands-on Console & Windows Forms examples.
Foundational markdown lessons (all inside Intro/
).
- Overview & Evolution
- Visual Programming Concepts
- The .NET Framework / Platform
- Visual Studio IDE Essentials
- Control Statements
- Strings
- Arrays
- Methods
- Object-Oriented Programming
- Events & Delegates
- Exceptions
- Databases & CRUD Overview
- GUI & Windows Forms Fundamentals
- Menus, Reports & MDI
- LINQ Basics
Scenario-based examples mapped to theory:
# | Folder | Topic | Quick Description |
---|---|---|---|
01 | Console Applications/01_BasicIO | Basic IO & Variables | ReadLine, validation, interpolation |
02 | Console Applications/02_ControlFlow | Control Flow | Menu, loops, switch |
03 | Console Applications/03_Strings | Strings | Analysis utilities |
04 | Console Applications/04_Arrays | Arrays | Stats, sorting, 2D matrix |
05 | Console Applications/05_Methods | Methods | Overloads, Random, Math |
06 | Console Applications/06_OOP | OOP | Inheritance & polymorphism |
07 | Console Applications/07_Exceptions | Exceptions | Robust division tool |
08 | Console Applications/08_InMemoryCRUD | CRUD | List-based student manager |
Example | Path | Concepts |
---|---|---|
Calculator | MoreExamples/Calculator.cs | IO, Methods, Control Flow |
StudentScores | MoreExamples/StudentScores.cs | Collections, LINQ, File IO, CRUD |
Planned examples to be added under Form Applications/
:
- Basic Form + Events (Button / TextBox validation)
- Calculator GUI (mirrors console version)
- CRUD with DataGridView (in-memory then DB)
- MDI Parent with Menus
- Crystal Report placeholder / conceptual notes
- Read Intro overview & syntax basics.
- Run BasicIO and experiment with inputs.
- Study control flow & expand calculator.
- Dive into Strings and Arrays examples.
- Learn Methods then refactor earlier code.
- Explore OOP; model simple domain.
- Add error handling (Exceptions sample).
- Build CRUD; prepare for persistence / DB.
- Transition to GUI (Forms) once fundamentals are solid.
For quick compile (no .csproj yet) ensure you have .NET SDK & Mono for execution without project files, or convert each folder into a project:
# Example (inside a sample folder)
dotnet new console -n SampleTemp
mv Program.cs SampleTemp/Program.cs
cd SampleTemp
dotnet run
Or using csc + mono on macOS:
csc Program.cs && mono Program.exe
- Keep theory in
Intro/
- Keep console examples in
Console Applications/
- Keep forms examples in
Form Applications/
- Each new example: its own folder + README +
Program.cs
- Exceptions theory page
- Database basics markdown
- GUI / WinForms basics markdown
- Events & Delegates markdown
- Menus & MDI markdown
- LINQ basics markdown
- Combined examples folder
- Persist CRUD to file/JSON sample
- Database connectivity sample (ADO.NET + SQLite)
- WinForms basic form sample
- WinForms CRUD with DataGridView
- MDI + Menus + simple report export
- LINQ + EF Core sample (future)
Happy Learning!