{"id":1349,"date":"2010-11-18T17:18:21","date_gmt":"2010-11-18T11:48:21","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=1349"},"modified":"2010-11-18T17:18:21","modified_gmt":"2010-11-18T11:48:21","slug":"what-is-managed-and-unmanaged-code","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/csharp\/what-is-managed-and-unmanaged-code\/","title":{"rendered":"What is managed and unmanaged code"},"content":{"rendered":"<p>Visual Studio have made the life of developer very easy by providing the powerful interfaced IDE which helps to create the applications faster than any other technology. We all remember the coding in Turbo C compiler in which the output produced is &#8220;<strong>machine level language<\/strong>&#8220;.<\/p>\n<p>Before Visual studio 2003, the output produced by the compilers were machine level language which can be pronounced as &#8220;<strong>UnManaged code<\/strong>&#8220;. Machine level language compiles and run on same machine or machine having same chip or configuration but it is not sure that it will run on another machine.<\/p>\n<p>After Visual studio 2003, the output produced by the compilers of C# and VB were not &#8220;machine level language&#8221;, instead it was &#8220;<strong>Intermediate Language<\/strong>&#8221; with some metadata info which is executed by the &#8220;<strong>Common Language Runtime (CLR)<\/strong>&#8220;. so we can say that output produced by the compilers of C# and VB after Visual studio 2003 is &#8220;<strong>Managed Code<\/strong>&#8220;.<\/p>\n<p>To read more on this topic, please refer below good articles:<\/p>\n<ol>\n<li><a title=\"What is Managed Code\" href=\"http:\/\/blogs.msdn.com\/b\/brada\/archive\/2004\/01\/09\/48925.aspx\" target=\"_blank\">What is Managed Code ?<\/a><\/li>\n<li><a href=\" http:\/\/www.codeguru.com\/columns\/Kate\/article.php\/c4871\/\" target=\"_blank\">Managed, Unmanaged, Native.<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>What is managed and unmanaged code in .Net technology.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[22],"tags":[43,51],"class_list":["post-1349","post","type-post","status-publish","format-standard","hentry","category-csharp","tag-asp-net","tag-c"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2313,"url":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/csharp\/microsoft-visual-c-2008-compiler-could-not-be-created-queryservice-for-7d960b16-7af8-11d0-8e5e-00a0c911005a-failed\/","url_meta":{"origin":1349,"position":0},"title":"Microsoft Visual C# 2008 Compiler could not be created. QueryService for &#8216;{7D960B16-7AF8-11D0-8E5E-00A0C911005A} failed","author":"Jitendra","date":"July 30, 2011","format":false,"excerpt":"Resolve error - Microsoft Visual C# 2008 Compiler could not be created. QueryService for '{7D960B16-7AF8-11D0-8E5E-00A0C911005A} failed","rel":"","context":"In &quot;c#&quot;","block_context":{"text":"c#","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/microsoft\/csharp\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1933,"url":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/csharp\/virtual-override-and-new-keyword-in-c\/","url_meta":{"origin":1349,"position":1},"title":"Virtual, Override and new Keyword in C#","author":"Jitendra","date":"April 7, 2011","format":false,"excerpt":"Virtual, Override and new Keyword : Polymorphism , Method Hiding and Overriding in C#","rel":"","context":"In &quot;c#&quot;","block_context":{"text":"c#","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/microsoft\/csharp\/"},"img":{"alt_text":"Multilevel Inheritance","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/04\/Multilevel-Inheritance.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":132,"url":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/net\/upload-files-in-asp-net-at-production-server\/","url_meta":{"origin":1349,"position":2},"title":"Upload Files in ASP.NET at Production server","author":"Jitendra","date":"May 13, 2010","format":false,"excerpt":"In this article, i am going to demonstrate that how to upload the file in ASP.NET production server. Most of the case, a developer created a code to upload the file and test it on his local machine. program runs smoothly, but as he\u00a0forward\u00a0the same code on production. He\u00a0stuck\u00a0in the\u2026","rel":"","context":"In &quot;ASP.NET&quot;","block_context":{"text":"ASP.NET","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/microsoft\/net\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/05\/WebShare-Folder.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1086,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/rtm-nu\/be-4th-sem-it-syllabus-of-rtmnu-nagpur-university-information-technology\/","url_meta":{"origin":1349,"position":3},"title":"BE 4th sem IT syllabus of RTMNU (Nagpur university &#8211; Information Technology)","author":"Jitendra","date":"September 15, 2010","format":false,"excerpt":"BE 4th sem IT syllabus of RTMNU (Nagpur university - Information Technology)","rel":"","context":"In &quot;RTM NU&quot;","block_context":{"text":"RTM NU","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/rtm-nu\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1591,"url":"https:\/\/www.jitendrazaa.com\/blog\/sql\/sqlserverintegrationservices\/create-simple-etl-project-in-ssis-filter-records\/","url_meta":{"origin":1349,"position":4},"title":"Create Simple ETL Project in SSIS &#8211; Filter Records","author":"Jitendra","date":"February 28, 2011","format":false,"excerpt":"Creating First ETL (Extract, Transform and Load) project in SSIS (SQL Server Integration Services) - Filter Records","rel":"","context":"In &quot;SSIS&quot;","block_context":{"text":"SSIS","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/sql\/sqlserverintegrationservices\/"},"img":{"alt_text":"Create Business Intelligence Projects in Visual Studio","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/02\/New-Business-Intelligence-Projects.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":6951,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/mastering-visual-studio-and-salesforce-dx\/","url_meta":{"origin":1349,"position":5},"title":"Mastering Visual Studio and Salesforce DX","author":"Jitendra","date":"January 14, 2020","format":false,"excerpt":"3.5 hours of video to become Master on using and navigating Visual Studio, Need of scratch org and building modular application using Unlocked Packages","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce DX on Udemy","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/01\/Salesforce-DX-on-Udemy.png?fit=1200%2C693&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/01\/Salesforce-DX-on-Udemy.png?fit=1200%2C693&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/01\/Salesforce-DX-on-Udemy.png?fit=1200%2C693&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/01\/Salesforce-DX-on-Udemy.png?fit=1200%2C693&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/01\/Salesforce-DX-on-Udemy.png?fit=1200%2C693&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/1349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=1349"}],"version-history":[{"count":0,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/1349\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=1349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=1349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=1349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}