Write the program FindPatientRecords that prompts the user foran ID number, reads records from Patients.txt, anddisplays data for the specified record. If the record does notexist, display the following error message:
No records found for p#
using System;
using static System.Console;
using System.IO;
class FindPatientRecords
{
static void Main()
{
// Your code here
}
}
show output >
Expert Answer
Answer to Write the program FindPatientRecords that prompts the user for an ID number, reads records from Patients.txt, and displa…