A .NET console application that crashes