Helper

A 6-post collection

Resolving types while stripping down nullables

I'm currently working on a WPF project that uses advanced validation for their screens. Each WPF control has a property that accepts a data type for the property you're binding...

»

Exceptions and the TPL

When an exception occurs while using the TPL, it will always get wrapped with an AggregateException before you can catch and handle it. This makes catching specific exceptions quite bothersome as you're...

»

Modal Message Box for WinForms in .NET 2.0+

The other day at work I felt the need to show the user a message, but wanted to do it a bit more fancy than just use the regular, old,...

»

Testing for exceptions

Every piece of software should at least have unit tests. Quite a few of these tests will probably be used to see if the method is correctly throwing an exception...

»

How to check if periods overlap and/or contain another period?

Checking for overlap can be quite tricky. It's not hard at all to make the whole process far too complicated, resulting in a lot of overhead. Because of this, I...

»