Posts Tagged C#

Source code clip of the day


Leave a comment

A simple stopwatch in C#

For whatever reason, periodically I find myself wanting an electronic stopwatch. No fancy features, just a start button and elapsed time. Several months ago I found one, but I lost it and it didn’t do what I wanted anyway. Fortunately, I have mad C# skills, so I pounded one out a few months ago. Download […]


1 Comment

My new favorite C# operator: The null coalesce operator (??)

Up until now my favorite operator was probably the ternary operator. Not that I’ve spent a lot of time thinking about it. It is kinda weird to have a favorite operator, I suppose. But hey, strange things happen to the minds of people who write software for a living.

Leave a comment