Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Func<MyClass, bool> whereClause = (x) => x.MyField == 1;
return myCollection.Where(whereClause );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment