Athens University of Economics and Business (AUEB) 🏫 👨🎓
A Coding Factory @ AUEB C# Project. Chapter 4 :
- Dynamic Structures
- Exceptions
This project provides a file management solution using a doubly linked list in C#. It allows you to read characters from a file, count their occurrences, and perform various operations such as traversals and sorting based on character value or frequency.
- Insert characters from a file into a doubly linked list
- Count the occurrences of each character in the list
- Traverse the list and display character counts and frequencies
- Sort the list by character value (ascending) or frequency (descending)
-
Clone the repository:
git clone https://github.com/your-username/file-management.git
-
Build the project
cd file-management dotnet build
- Prepare a text file to analyze (e.g., file.txt) and ensure it exists.
- Replace the path string in code to correspond to that text file:
string file = @"C:\tmp\file.txt";
- The program will read the characters from the file, count their occurrences, and display the results.