Functional Programming, Csharp, Dotnet, Software Development.
>0 } } ? validationResult : _successResult; } } Notice that this allows us to do all sorts of interesting things with the _validations array. How hard would it be to modify this function to return all of the errors instead of just the first one? If you’re thinking we can use LINQ’s Select method