TakeWhile understanding

TakeWhile will stop, when the condition is not matched the firstTime. Therefore above use case is e.g. a filter case which can be done with the Where LINQ Operator

1 Like