I am looking for a one liner that transforms List into object[]. It\'s one liner, so I am not interested in solutions such as foreac
List
object[]
foreac
List.Select(x => x as object).ToArray();
Should return an object[].