using System; using System.Collections; public class Test { public static void Main() { new CrazyAdd { {1,2,3}, {4,5,6} }; } class CrazyAdd : IEnumerable { public void Add(int x, int y, int z) { Console.WriteLine(x + y + z); } public IEnumerator GetEnumerator() { throw new NotImplementedException(); } } }