2 ms·
Yea, but try moving the predicate to a local function, and you get: Func<int, bool> pred = a => a %3 == 0. Mix in more complex types (say a dictionary with a
by MichaelGG 16y ago
Yea, but try moving the predicate to a local function, and you get:
Func<int, bool> pred = a => a %3 == 0.
Mix in more complex types (say a dictionary with a tuple in it), and it starts getting pretty verbose.