Skip to content

Mostafa-SAID7/ZooManagementSystem-Csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

47 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐Ÿฆ Zoo Management System

A console-based application written in C# to help manage a zooโ€™s animals, enclosures, feeding schedules, and medical records.


๐Ÿ“– Description

This project demonstrates the core functionality of a Zoo Management System with the ability to:

  • Add and manage animals (name, species, age, enclosure)
  • Add and manage staff members (name, role, contact)
  • List all animals and staff in the system

The current implementation is a console-based prototype showcasing object-oriented design and basic operations. It can be extended to support GUI or web interfaces and database storage.


๐Ÿš€ Features

  • Add and manage enclosures with capacity limits
  • Add animals to enclosures and transfer animals between enclosures
  • Search animals by name or species
  • Manage medical records for each animal (add/view diagnosis and treatment history)
  • Set and update feeding schedules (food type and feeding time) per animal
  • Save and load data persistently using JSON files

Data Persistence

All zoo data (enclosures, animals, feeding schedules, medical records) are saved in JSON format under the Data/zoo_data.json file automatically when you choose โ€œSave & Exitโ€ from the menu.

๐Ÿ› ๏ธ Getting Started

Prerequisites

  • .NET SDK Download (version 6.0 or higher recommended)
  • A C# IDE or editor like Visual Studio, Visual Studio Code, or Rider

Running the Project

  1. Clone the repository or copy the source files into a C# project.
  2. Build the project using your IDE or via command line:
dotnet build

Run the project:

dotnet run

The console app will demonstrate adding some animals and staff, then listing them.

Project Structure

  • Program.cs โ€” Entry point of the application
  • Models/ โ€” Contains data models:
    • Animal.cs
    • Enclosure.cs
    • FeedingSchedule.cs
    • MedicalRecord.cs
    • Zookeeper.cs (reserved for future expansion)
  • Services/ โ€” Core business logic and UI handling:
    • ZooManager.cs โ€” Manages all zoo operations
    • MenuService.cs โ€” Console menu and user interaction
    • DataService.cs โ€” Handles JSON data load/save operations

Future Improvements

  • Add editing and deleting animals and staff
  • Implement persistent storage using a database
  • Create a GUI with Windows Forms, WPF, or ASP.NET Core
  • Add user authentication and role-based access
  • Extend functionality to manage feeding schedules, health records, and ticketing

License

This project is open-source and available under the MIT License.

About

A console-based Zoo Management System developed in C#. It enables basic CRUD operations for managing animals, staff, and visitors. Ideal for beginners learning object-oriented programming, file handling, and console application structure in .NET.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages