MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

MSIL for the C# Developer

Course Summary

In this course we look at MSIL; the code that is generated when you compile C#. We explore MSIL so that you get a better understanding of how C# works and how it is compiled.

  • +

    Course Syllabus

        ◦ Introduction
    ● Compiling C#
        ◦ What is a compiler?
        ◦ What happens when we run a C# Application?
        ◦ What is MSIL?
        ◦ Decompiling a C# Application and viewing MSIL
        ◦ The basic OpCodes and how to spot them when decompiled
        ◦ Summary
    ● Understanding IL and the Evaluation Stack
        ◦ The structure of MSIL
        ◦ What is a Stack?
        ◦ Analyze a method
        ◦ What the method really looks like
        ◦ Calling methods
        ◦ Understanding Recursion
        ◦ Summary
    ● Building things at runtime
        ◦ What is Reflection?
        ◦ Why should I avoid Reflection?
        ◦ Using Reflection to get information in runtime
        ◦ Why create things in runtime?
        ◦ A first look at DynamicMethod and MSIL in a C# Application
        ◦ Convert a basic C# method to MSIL
        ◦ Comparing our MSIL to a disassembled snippet
        ◦ Converting a method line by line to MSIL
        ◦ Converting a method line by line to MSIL part 2
        ◦ Summary
    ● Building Things at Runtime Part 2
        ◦ Building More Things in Runtime
        ◦ Calling Methods
        ◦ Calling Dynamic Methods
        ◦ Recursive Methods
        ◦ Using a Switch
        ◦ Creating A Type With TypeBuilder
        ◦ Summary
    ● Understanding the Different OpCodes
        ◦ More Operation Codes Ahead
        ◦ What happens when we host the Dynamic Method anonymously?
        ◦ Getting the Remainder of a Division
        ◦ Negating Values
        ◦ Using Bitwise Operations
        ◦ Creating an Instance of A Class
        ◦ Loading Elements From an Array
        ◦ Summary
    ● Compiling your own IL
        ◦ MSIL Outside Visual Studio
        ◦ The IL Dissassembler
        ◦ Calling Console.WriteLine
        ◦ Using Arguments Passed to Our Program
        ◦ Conversion, Value Types and Boxing
        ◦ Creating an Entire Type Using MSIL
        ◦ Summary
    ● Wrap Up
        ◦ Summary


Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Development & Implementations Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top