// C #
Func<int, bool> compareWith3 = n => n == 3;
Console.WriteLine("{0} {1}", compareWith3(3), compareWith3(4));
// Prints - True False