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(); }
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnM7CgogICAgCnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCQluZXcgQ3JhenlBZGQgewoJCQl7MSwyLDN9LAoJCQl7NCw1LDZ9CgkJfTsJCgl9CgoJY2xhc3MgQ3JhenlBZGQgOiBJRW51bWVyYWJsZQoJewoJCXB1YmxpYyB2b2lkIEFkZChpbnQgeCwgaW50IHksIGludCB6KQoJCXsKCQkJQ29uc29sZS5Xcml0ZUxpbmUoeCArIHkgKyB6KTsKCQl9CgoJCXB1YmxpYyBJRW51bWVyYXRvciBHZXRFbnVtZXJhdG9yKCkgeyB0aHJvdyBuZXcgTm90SW1wbGVtZW50ZWRFeGNlcHRpb24oKTsgfQoJfQp9