A LINQ Style Replace Operator

added by BlackWasp
12/15/2012 6:14:39 AM

0 Kicks, 128 Views

It can be useful to search a sequence of items for a specific value or object and replace all matching instances with a new value. Language-Integrated Query (LINQ) does not provide a standard query operator for this purpose but creating one is simple.