Below is my code so far. I’m stuck on how to get the info toshow on the console screen.
using System;
using static System.Console;
using System.IO;
class ReadPatientRecords
{
static void Main()
{
//Open FileStream
FileStream inFile = newFileStream
(“Patients.txt”, FileMode.Open, FileAccess.Read);
//Open StreamReader
StreamReader reader = newStreamReader(inFile);
//Display Data
?
//Close StreamWriter &FileStream
reader.Close();
inFile.Close();
}
}
Instructions Write the program ReadPatientRecords that reads the file Patients.txt and displays each patient’s data on the screen. Show transcribed image text Instructions Write the program ReadPatientRecords that reads
OR
OR