NOTE: Just want to clarify if my current understanding is correct after I came across a MSDN doc which seems to contradicts another MSDN doc. Also I have already been through the following links -
I had the following understanding (which I developed after going through this link):
Managed code: Code written in one of the high-level languages (that can be run on top of .NET such as C#, F# and others) upon compilation generates IL whose execution is managed and supervised by a runtime (in this case CLR, regardless of the implementation for e.g. Mono, .NET Framework, .NET Core/.NET 5+) is called managed code.
IL: It is a product of compilation of managed code.
But then I came across this link, according to which it says: When compiling to managed code, the compiler translates your source code into Microsoft intermediate language (MSIL)... and so on.
Both documentations are from MSDN, and not sure if it is a typo, thus the question.
So which one is correct?