louresb / TextEditor

This repository contains the exercise completed as part of the Balta.io course on backend development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text Editor

licence mit Development Status Badge

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's backend course. I recommend checking it out if you're interested in learning about .NET programming.

License

MIT License © Bruno Loures

About

This repository contains the exercise completed as part of the Balta.io course on backend development.

License:MIT License


Languages

Language:C# 100.0%