public void Write(int[,] Arr2) { try { File.WriteAllText(FileName, Array2Convert.Arr2ToStr(Arr2)); } catch (Exception) { throw new Exception("ошибка записи"); } }
public int[,] Read() { try { return(Array2Convert.StrToArr2(File.ReadAllText(FileName))); } catch (Exception) { throw new Exception("ошибка чтения"); } }