incoders
Sunday, August 18, 2013
Declare a Predicate Delegate inline (options)
explicit delegate:
myObjects.RemoveAll(delegate (MyObject m) { return m.X >= 10; });
lambda
myObjects.RemoveAll(m => m.X >= 10);
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)