I would use the .Take() method, outlined by Microsoft here.
Returns a specified number of contiguous elements from the start of a sequence.
It would look something like this:
//limit to 100
var keysArr = keys.Select(key => (string)key).Take(100).ToArray();