4 ms·The c# user just writes arr.Select(el => el == condition);by avisser 10y agoThe c# user just writes arr.Select(el => el == condition);Pxtl 10y agoYes, but this function is defined as in-place replacement.avisser 10y agoSo arr = arr.Select(el => el == condition); I'd push-back in code-review anyone who tried to do something not in obvious, idiomatic (read: LINQ) C#.