language: C# (mono-2.8)
date: 480 days 20 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Collections;
 
public class Test
{
        private static void DoSomething(params IEnumerable[] arr) {
                Console.WriteLine(arr[0].ToString());
        }
 
        public static void Main()
        {       
                DoSomething(new IEnumerable[] {new int[] {}}); // arr[0] isn't IEnumerable[], it's int[].
        }
}