December 2012
Intermediate to advanced
612 pages
14h 4m
English
![]()
This chapter will discuss the following C# methods: instance, static, anonymous, and extension. In doing so, you’ll learn how the this keyword relates to these methods and how the CLR passes value for the this keyword used as parameter in runtime by examining data on the stack.
You will also explore how the anonymous method works when there is external variable reference in it and when there is no external variable referenced from it. Additionally, you will find out how the this keyword is used in both circumstances.
Finally, you will learn about the compile time and runtime behavior of the extension methods and how the C# compiler ...