private static void EditData(DataBase database) { Console.Write("Input name of table for edit: "); MyString nameOfTable = new MyString(Console.ReadLine().ToCharArray()); MyList <Row> rows = database.GetRows(nameOfTable); Console.Write($"Input number of {rows[0].Data[0].GetString()} for edit: "); int idNumber = Convert.ToInt32(Console.ReadLine()); database.EditNote(nameOfTable, idNumber); }