gwerren.com

Programming notes and tools...

Tag: Linq

Is Linq X-OrDefault Evil?

.FirstOrDefault() and friends are often used incorrectly, here we take a look at which of the "select one" methods to use when and how to choose.