Difference between Managed code and Unmanaged code in C# |

Published: 18 February 2022
on channel: ALLCPL
2,050
52

Managed Code
1. The code executed by the CLR, instead of the operating system
2. In the managed code the runtime will provide services like a garbage
collector, type checking, exception handling
3. The code is compiled by the language compiler into IL (intermediate
language) code

Unmanaged Code
1. The code that directly executes under the operating system
2. Does not provide services like a garbage collector, type checking, exception
handling taken care of by the programmer
3. The code will be compiled into native code

#Shorts #C#Interviewquestions #CSharpQuestions #shortvideo #shortsfeed #shortsyoutube #shortsbeta


Watch video Difference between Managed code and Unmanaged code in C# | online without registration, duration hours minute second in high quality. This video was added by user ALLCPL 18 February 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,050 once and liked it 52 people.