Group by - Data table

Hello,
I wonder what type is declared "ListA” and how do to convert that list into a new datable ?