William Duffy

Glasgow Based C# ASP.NET Web Developer

Tag archive for ‘Code Reuse’

Coalesce: ASP.NET Strings

In programming it is a common occurrence to have a list of possiblities from which you would like the first available option selected. SQL Server has a handy method (Coalesce) which makes performing this easy, but unless you are using nullable types .NET does not have a suitable alternative. Here, I will make a helper [...]