I want to fill array of random numbers, but I want to do this with extension method and in result I have only 500 zeroes.
public static IEnumerable