Files and Directories

Exercise: Read a text file

Goal

Read the message back out of the text file "StarWars.txt" and write that message to the console. You should first read the content back out to a variable named content. Next, write the content variable to the console using Console.WriteLine.

Page 4 of 20