public void InsertData(List <object> row) { if (!ValidateDataTypes(row)) { throw new ArgumentException("Incorrect data types! Expected: " + Table.Schema.Fields.Select(x => x.Type.GetName()).Aggregate((x, y) => $"{x}, {y}")); } _fileWorker.InsertData(Table, new List <List <object> > { row }); }