I need to remember certain integer array after program close and then to load on startup for the saving I done this:
List<int[]> lst = drops_counter.OfType<int[]>().ToList();
ArrayList arrayList = new ArrayList(lst);
Properties.Settings.Default.lstl = arrayList;
where lstl is from type ArrayList which is the only way to store an array in c# as I learned here. (if there is another type that will solve my problem dont mind to change)
For loading the array n startup I have done this
int[] f1 = Properties.Settings.Default.lstl.OfType<int>().ToArray();
But now I am stuck as I dont know how to convert object to array. if there is a solution for my problem or another way to solve this I will be more then happy because the only other way to do it is with EXCEL FILE and that means to depend on another program. Please help Sincerely yours Gildin Ilia