Takes a number of items at the beginning of a list. The remaining items are not put in the output list.
List<T>
The input list.
Int32
The number of items to take.
The output list, consisting of the beginning part of the input list that hast been taken.