static void Main(string[] args) { // create a single instance of the data base application StudentApp app = new StudentApp(); // read in the data from the input file app.ReadDataFromInputFile(); // operate the database - carry out the user's CRUD operations app.RunDatabaseApp(); }
static void Main(string[] args) { // create a single object for the db app StudentApp app = new StudentApp(); // read in data from the input file app.ReadDataFromInputFile(); // operate the database - carry out the user's CRUD operations app.RunDatabaseApp(); // write the data to the output file app.WriteDataToOutputFile(); }
static void Main(string[] args) { //create a single instance of the db application StudentApp app = new StudentApp(); //read in the data from the data file app.ReadDataFromInputFile(); //Rrun the database app app.RunDatabaseApp(); //write data to the output file app.WriteDataToOutputFile(); }