public bool TryReadFile(string path) { List <int> array = new List <int>(); if (FileWorkerModel.TryReadArray(array, path)) { _values.Clear(); foreach (int el in array) { _values.Add(el); } Sort(); return(true); } return(false); }
public void ResultWriteFile(string path) { FileWorkerModel.WriteFile(Even_Values, Odd_Values, path); }
public void WriteFile(string path) { FileWorkerModel.WriteFile(Values, path); }