1. Course
  2. Text Files A
  3. Appending to a text file

Appending to a text file


Last updated: 8/23/2020 Difficulty: Easy

Create a C# program that asks the user for lines until you press Enter.

The lines should be updated at the end of the text file if it exists, but a new file should be created.

Input

dapibus
pretium
radar

Output

Solution

Text Files A

6 / 6

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising