https://peterkellner.net/2009/10/14/linq-convert-array-to-list/