.NET & C# · LINQ
What is First, Single, and OrDefault variants in LINQ?
First returns the first match, while Single asserts uniqueness; OrDefault variants return a default when none exists. In practice, the value of this concept comes from understanding where it belongs in the architecture, what problem it solves, and what constraints or tradeoffs it introduces.