Compatibility .net 4.0