Covert to .NET 4.0