William Duffy

Glasgow Based ASP.NET Web Developer

Tag archive for ‘String’

C# boolean to string extension method

One of the most common operations I find myself repeating when programming is writing a boolean value in a human friendly form. Most users, unless geeky and appreciative of the coolness of datatypes, will not be too comfortable with true/false being used in yes/no context.
I’m a BIG believer in developing my own reusable code [...]