Skip to content

University-Of-Sri-Jayewardenepura/C-Sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# Visual Application Programming Learning Hub

A structured learning repository combining theory (Intro) and hands-on Console & Windows Forms examples.

📚 Theory (Intro)

Foundational markdown lessons (all inside Intro/).

💻 Console Application Samples

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

� Combined / Larger Console Examples

Example Path Concepts
Calculator MoreExamples/Calculator.cs IO, Methods, Control Flow
StudentScores MoreExamples/StudentScores.cs Collections, LINQ, File IO, CRUD

�🖼 Windows Forms (Coming Soon)

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

🗂 Suggested Progress Path

  1. Read Intro overview & syntax basics.
  2. Run BasicIO and experiment with inputs.
  3. Study control flow & expand calculator.
  4. Dive into Strings and Arrays examples.
  5. Learn Methods then refactor earlier code.
  6. Explore OOP; model simple domain.
  7. Add error handling (Exceptions sample).
  8. Build CRUD; prepare for persistence / DB.
  9. Transition to GUI (Forms) once fundamentals are solid.

🧪 How to Run Samples

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

🤝 Contributing

  • 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

✅ Roadmap

  • 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!

About

Visual Application Programming using C#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages