An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Text Editor

[![licence mit](https://img.shields.io/badge/licence-MIT-blue.svg)](https://github.com/louresb/TextEditor/blob/main/LICENSE)
![Development Status Badge](https://img.shields.io/badge/Status-Concluded-green)

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)