using System; using System.Collections.Generic; public class Program { public static void Main() { IEnumerable xs = new int[] { 1, 2, 3, 4, 5 }; Console.WriteLine(xs.Length); } }