I love the Coalesce operator in C#

11. August 2009

Recently I was given a requirement where clients can enter alternate text for particular content and even alternate text to the alternate text. They wanted it so that the default text would only show if the first and second alternate text was null.

More...

.NET 3.5, LINQ, General , ,