use Linq Cast to convert array to IEnumerable