When executing an application on .net 4.0, compiled under .net 2.0
Assuming that: The C# source code below is compiled under .NET 2.0 (CLR 2.0); and The above application uses the app.config listed below; and Only .NET 4.0 (CLR 4.0) is installed on the environment of the client executing the application, then which version of .NET is internally loaded to execute the application on the client's environment? Description The console application below will simply show that its CLR version is v4.0.30319 in the console, but @Reed Copsey's answer of the stack ( CLR 2.0 vs 4.0 performance? ) shows that .NET 2.0 is loaded in this case. Moreover, at MSDN it says when