Expand an array to a given size

Some functions expect an array with a minimum size. While this is generally bad coding sometimes you can’t avoid it (e.g. with csv files). That’s when this piece of code comes in handy: (it’s an extension method, so it only works on .NET 3.5) public static class ArrayHelper { /// <summary> /// Expands an array […]

Format after BitLocker.

So yesterday I reinstalled my laptop because some beta driver was acting up, no big deal. I had both of my partitions secured with Bitlocker (and a BIOS password set up) so that my laptop is secure. After formatting I noticed that my C drive wasn’t encrypted anymore (which is obvious, it was formatted). But […]