Expert C# 5.0 [electronic resource] : with the .NET 4.5 Framework /
Rahman, Mohammad.author.
Expert C# 5.0 is a book about getting the best from C#. It’s based on the principle that to write good, high-performance, robust applications you need to understand whats going on deep under the hood. If you are already experienced with writing managed applications and want to learn more about how to get the best from the language at an advanced level, then this is the book for you. Expert C# 5.0 discusses the familiar C# language in forensic detail. Examining familiar elements closely to reveal how they really work. Key language features that you are already familiar with, such as Enums, Strings and Collections, are teased apart and examined under the twin microscopes of MSIL (Intermediate Language) and the Windbg debugger to see what's really going on behind the scenes as your code is compiled and passed to the CLR. This unparalleled depth of explanation will help you to become a true master of the C# language and architect better crafted applications that work in the most efficient and reliable way possible. It will also give you the insight you need to rapidly identify and fix the stubborn coding faults that others may be unable to diagnose.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; CHAPTER 1 Reintroducing C#:-A Detailed Look at the Language We All Know; Square Number Using the C#; Compilation of a C# Program; Jitting a C# Program; Understanding the C# Language; Identifiers; Keywords; Contextual Keywords; Literals; Boolean Literal; Integer Literal; Real Literal; Character Literal; Null Literal; String Literal; Comments; Types; Value Types; Reference Types; Array; One-Dimensional Arrays; Multidimensional Arrays; Variable-Length Arrays
Associative ArraysVariables; Default Values for the Variables; Variable Storage; Stack; Heap; Types of Variables; Static Variables; Instance Variables; Array Elements; Value Parameters; Reference Parameters; Output Parameters; Local Variables; Parameters; Types of Parameter Passing; Kinds of Operators; Statements; Labeled Statements; Declaration Statements; Embedded Statement; Namespaces; Class; Object; Class Members; Accessibility; Types of Classes; Abstract classes; Sealed Classes; Static Classes; Constructor; Default Constructors; Private Constructors
Optional Instance Constructor ParametersField; Static Field; Instance Field; Readonly Field; Volatile Field; Methods; Types of Methods; Properties; Indexers; Automatically Implemented Properties; Struct; Event; Interfaces; Enum; Delegates; Exception; Summary; CHAPTER 2 C# Objects in Memory; Memory in .NET Applications; The Stack; The Heap; Value and Reference Types; Instantiating an Object; Boxing and Unboxing; Performance in Boxing and Unboxing Operation; Garbage Collection; Generation 0; Generation 1; Generation 2; Summary; CHAPTER 3 Parameters; Parameter; Method State Description Table
An Instruction PointerAn Evaluation Stack; A Local Variable Array; An Argument Array; A Method Info Handle; A Local Memory Pool; A Return State Handle; A Security Descriptor; Value Type; Parameter by Value; Parameter by ref; Reference Type; Parameter by Value; Parameter by ref; Default Parameter Value; Summary; CHAPTER 4 Methods; Instance and Static Method with this Keyword; Memory Information while Running an Instance Method; Memory Information while Running a Static Method; Anonymous Method; In Compile Time; External Variable Referenced from the Anonymous Method
Memory Information with External Variable Referenced from the Anonymous MethodExternal Variable Not Referenced from the Anonymous Method; Extension Method; Internal Work of the Extension Method; Extension Method and Resolution; Extension Method and Custom Class; Summary; CHAPTER 5 Automatic Property Declaration; Automatic Property; var Implicitly Typed Local Variable; var in Runtime; var in Design Time; Anonymous Type; Summary; CHAPTER 6 Enum; Enum and .NET; How to Get Names and Values from the Enum; Determining Whether an Item Is Defined; Parsing; Summary; CHAPTER 7 Delegate
Understanding Delegates
Includes index.
Expert C# 5.0 is a book about getting the best from C#. It’s based on the principle that to write good, high-performance, robust applications you need to understand whats going on deep under the hood. If you are already experienced with writing managed applications and want to learn more about how to get the best from the language at an advanced level, then this is the book for you. Expert C# 5.0 discusses the familiar C# language in forensic detail. Examining familiar elements closely to reveal how they really work. Key language features that you are already familiar with, such as Enums, Strings and Collections, are teased apart and examined under the twin microscopes of MSIL (Intermediate Language) and the Windbg debugger to see what's really going on behind the scenes as your code is compiled and passed to the CLR. This unparalleled depth of explanation will help you to become a true master of the C# language and architect better crafted applications that work in the most efficient and reliable way possible. It will also give you the insight you need to rapidly identify and fix the stubborn coding faults that others may be unable to diagnose.
Microsoft .NET Framework.
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.