Apress
C# Deconstructed: Discover how C# works on the .NET Framework
C# Deconstructed: Discover how C# works on the .NET Framework
Couldn't load pickup availability
C# Deconstructed answers a seemingly simply question: Just what is going on, exactly, when you run C# code on the .NET Framework?
To answer this question we will dig ever deeper into the structure of the C# language and the onion-skin abstraction layers of the .NET Framework that underpins it. Well follow the execution thread downwards, first to MSIL (Microsoft Intermediate Language) then down through just-in-time compilation into Machine Code before finally seeing the results executed at the hardware level.
The aim of this deep-dive is to provide you with a much more rounded knowledge of the environment within which you code exists. As a managed language, its best-practice to let the Framework deal with device interaction but youll find the experience of taking the cover off once in a while a very rewarding one that will greatly enrich your appreciate of the C# language and the way in which in functions.
What youll learn- Understand how C# handles your filesystem requests and passes them down to hard disks and memory
- Learn how RAM works and how programs map to address spaces
- Discover the C# compilation sequence in detail and follow it down from abstract code to actual function
- See how your devices micro-processor executes Machine Code and just-in-time compilation provides it when its needed
- Learn how the Common Language Runtime (CLR) determines the execution of your code and handles Threading and Scheduling for your instructions
This book is ideal for anyone who works with C# and has ever wondered what happens after they press F5.
Table of Contents
- Anatomy of the C# compilation stack
- Data Access, Files and Storage
- Understanding Memory Usage
- The C# Compilation Sequence
- From CIL to Machine Code
- Execution through the CLR
- Execution Model II
Share
