June 3, 2011, 2:14 p.m.
posted by tekkero
This chapter's introduction outlined the low-level access to the underlying operating system that C# exposes. To summarize this, consider the Main() function listing for determining whether execution is with a virtual computer (see Listing 17.20).
Designating a Block for Unsafe Code
In this case, you use a delegate to trigger execution of the assembler code. The delegate is declared as follows:
delegate void MethodInvoker();
This book has demonstrated the power, flexibility, consistency, and fantastic structure of C#. This chapter demonstrated the ability, in spite of such high-level programming capabilities, to perform very low-level operations as well.
Before ending the book, the next chapter briefly describes the underlying execution platform and shifts the focus from the C# language to the broader platform in which C# programs execute.