单项选择题

A.[x for x in list]
B.list(x for x in list)
C.list.foreach(x =>x)
D.[x x in list]