Sign up
Sign in
…ducts = products.Where(x => x.Available).ToList(); if (!availableProducts.Any()) { return Enumerable.Empty<Product>(); } else { return availableProducts; }}
Kenji Elzerman
Doug Wilson
Follow
--
1
Share
Very. Nice. Elegant. I like it! Thank you!
Doug Wilson is an experienced software application architect, music lover, problem solver, former film/video editor, philologist, and father of four.
Help
Status
About
Careers
Press
Blog
Privacy
Terms
Text to speech
Teams