Statistics
The Highest Post







Statistics
Count 94
Avg 21.00
Min 21
Max 21
Angualr Top questions

Details



Peter Agyekum Managed code is not directly compiled to machine code but to an intermediate language which is interpreted and executed by some service on a machine and is therefore operating within a secure framework which handles things like memory and threads for you. Unmanaged code is compiled directly to machine code and therefore executed by the OS directly. So, it has the ability to do damaging/powerful things Managed code does not. C# is managed code because Common language runtime can compile C# code to Intermediate language. Can I override a static methods in C#? No. You can't override a static method. A static method can't be virtual, since it's not related to an instance of the class.
Related Topics