public static DataTable[] ToArray(this DataTableCollection tables) { return(tables.AsEnumerable().ToArray()); }