I am new to developing and I am creating an AddressBook using c#.
I am trying to save my data collection using my DataLayer class into a txt file. The data collection is displayed in a DataGridView which is located in my AddressBook GUI
I would like to save the data collection without touching the DataGridView.
What would be the best way to do this, and could I have an example please?