C#

A 20-post collection

Playing with Generic References: Hidden features of C#

When writing generic classes, it's highly likely you've gotten to the point (at least once) where you had to write a piece of type-specific code (wether due to third party...

»

Snapshot

When working with a mutable instance, it's often useful to keep a certain state of that object. This issue is usually solved by implementing IClonable or using Serialization (followed by...

»

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...

»

WF in WPF: Handing over control to the user

...because delivering an application set in stone doesn't always cut it. Set in Stone #What is which and which is what?? Before we begin, it is important that we understand...

»