Skip to content

A collection of C# Object-Oriented Programming projects demonstrating OOP principles with practical console applications.

License

Notifications You must be signed in to change notification settings

a7medhazem/CSharp-OOP-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 C# Console Projects Collection — Practical Hands-On Learning

This repository includes three practical C# console applications designed to reinforce core programming concepts through real-world scenarios.
Each project is simple, interactive, and built to demonstrate clean, organized code — perfect for learning, practicing, or showcasing fundamental C# skills. 🎓


📁 Projects Included

  1. 📚 Library Management System
  2. 🎮 Maze Game Console App
  3. 📊 Text Data Analyzer Console App

A console-based system that allows librarians and regular users to manage, borrow, and view books.
Built using OOP principles with abstraction, inheritance, and encapsulation.

📋 Key Features:

  • 👨‍💼 Librarian functions (add/remove books, view all books) — password-protected with hidden input
  • 👤 User functions (borrow books, view available books)
  • 🛡️ Input validation for strings and numbers
  • 📦 Data stored in fixed-size arrays (no databases or lists)
  • 🗂️ Organized code structure for maintainability

📂 Project Folder: LibraryManagementSystem


An interactive maze game where the player moves through a maze using arrow keys, avoiding walls and aiming for the exit.

📋 Key Features:

  • ⬆️⬇️⬅️➡️ Player movement with arrow keys
  • 🧱 Walls block movement, empty spaces are passable
  • 👤 Player represented by @ icon
  • 🎨 Colored walls and player for better visuals
  • 🛠️ OOP design with interfaces for maze objects

📂 Project Folder: MazeGame


A tool for analyzing .txt and .csv files in a given folder, providing detailed statistics.

📋 Key Features:

  • 📄 For .txt: Count words, characters, and lines
  • 📊 For .csv: Count total fields (comma-separated values)
  • 🛠️ Automatic file type detection via extension methods
  • 🛡️ Handles invalid inputs and unsupported file types
  • 🔄 Structured OOP design with interfaces and inheritance

📂 Project Folder: TextAnalyzer


🛠 Technologies Used

  • Language: C#
  • Type: Console Applications
  • Paradigm: Object-Oriented Programming (OOP)

📄 License & Author

Created with ❤️ by a7medhazem
Licensed under the MIT License

About

A collection of C# Object-Oriented Programming projects demonstrating OOP principles with practical console applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages