R-遍历多个数据帧

with two or more dataframes, df1, df2, df3, df4, ... what data structure should be used such that it is possible to iterate through the dataframes and do something with each.

for(df in 'what') {
  print(colnames(df))
}

the what part - which data structure to be used so that each dataframe can be accessed to do something with it in side the for loop.