I have just come across the following code (.NET 3.5), which doesn't look like it should compile to me, but it does, and works fine:
bool b = selectedTables.Any(table1.IsChildOf));
Table.IsChildOf is actually a method with following signature:
public bool IsChildOf(Table otherTable)
Am I right in thinking this is equivalent to:
bool b = selectedTables.Any(a => table1.IsChildOf(a));
and if so, what is the proper term for this?