Newbie here, currently studying C# course and totally new to coding and stuff.
Sorry if this question is already been asked, I've been googling for quite some time and still unable to find a proper answer or anything near it.
Question being simple. I have an array that contains string needs to be saved onto a file, needs to be retrieved when required.
example
string[] item_name = {"abc", "def", "ghi"};
float[] item_cost = {30f,20f,10f};
int[] item_qty = {10,20,30};
How do i go about saving all these data into a file (e.g .txt) and then retrieve at a button_click command?