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

Write to a text file


Last updated: 8/23/2020 Difficulty: Easy

Create a program in C# to request lines from the user and write them in a text file.

Type lines until the user presses Enter.

Input

dapibus
pretium
radar

Output

Solution

Text Files A

5 / 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