https://github.com/louresb/text-editor
This repository contains the exercise completed as part of the Balta.io course on backend development.
https://github.com/louresb/text-editor
csharp dotnet dotnet5
Last synced: 3 months ago
JSON representation
This repository contains the exercise completed as part of the Balta.io course on backend development.
- Host: GitHub
- URL: https://github.com/louresb/text-editor
- Owner: louresb
- License: mit
- Created: 2023-02-20T22:08:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T17:28:02.000Z (about 3 years ago)
- Last Synced: 2025-05-08T16:54:02.759Z (about 1 year ago)
- Topics: csharp, dotnet, dotnet5
- Language: C#
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Text Editor
[](https://github.com/louresb/TextEditor/blob/main/LICENSE)

This is a simple text editor application implemented in C#. It allows you to open existing text files, create new files, edit and save text content.
## Usage
When you run the program, you will be presented with a menu. Follow the instructions below to use the text editor:
- Select an option from the menu:
- `1` to open an existing file
- `2` to create a new file
- `0` to exit the program
- If you choose to open an existing file:
- Enter the path of the file you want to open.
- The contents of the file will be displayed on the screen.
- Press Enter to continue.
- You will return to the main menu.
- If you choose to create a new file:
- Enter the text you want to add to the file.
- Press `ESC` to exit and save the file.
- Enter the path where you want to save the file.
- The file will be saved, and the program will display a success message.
- Press Enter to continue.
- You will return to the main menu.
- Repeat the above steps to open or create additional files.
## Learning resources
This console application was created using [Balta.io](https://balta.io/)'s backend course. I recommend checking it out if you're interested in learning about .NET programming.
## License
[MIT License](https://github.com/louresb/TextEditor/blob/main/LICENSE) © [Bruno Loures](https://github.com/louresb)