C# Programming - .NET Framework - Discussion
Discussion Forum : .NET Framework - General Questions (Q.No. 12)
12.
Code that targets the Common Language Runtime is known as
Discussion:
4 comments Page 1 of 1.
John said:
1 decade ago
Native code is the code whose memory is not "managed", as in, memory isn't freed for you (C++' delete and C's free, for instance), no reference counting, no garbage collection. Managed code, you guessed it, is the code whose memory is free and allocated for you, garbage collection and other goodies.
Mixed code is when you have managed code that calls onto an unmanaged layer. Normally, when you have a pure unmanaged C++ DLL and you call it from .NET using P/invoke.
Mixed code is when you have managed code that calls onto an unmanaged layer. Normally, when you have a pure unmanaged C++ DLL and you call it from .NET using P/invoke.
Bhavin Umaraniya said:
1 decade ago
Because it is managed by .Net runtime. For example memory management, code execution etc.
Mounika said:
1 decade ago
What is difference between native code and managed code?
Manidurga said:
1 decade ago
What is mean by managed code? is it CIL code?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers