Back to projects
Nov 25, 2023
2 minutes read

Countries/Cities Dictionary

Management of a dictionary of countries and their capitals in C#

This project is a C# dictionary manager that allows efficient and user-friendly management of countries and their capitals.
The interface offers a range of functionalities to add, modify, delete, sort, and search information by city name or country name.


  • Menu Interface

Menu


  • Example of adding a country with its capital and displaying it (options 1 and 2)

Options 1 and 2


  • Check if a city is a capital (option 6)

Option 6


  • Sort the dictionary by capital or by country (option 7)

Option 7


CODE

  • Menu Interface Code

Menu Code


  • Handling choices with checkboxes

Checkbox Handling


  • Updating a country’s capital and searching for a country by a city

Update Capital & Search Country