Page 43 - CSharp/C#
P. 43
Examples 730
Introduction to unsafe code 730
Retrieving the Data Value Using a Pointer 731
Passing Pointers as Parameters to Methods 731
Accessing Array Elements Using a Pointer 732
Compiling Unsafe Code 733
Chapter 122: Polymorphism 734
Examples 734
Another Polymorphism Example 734
Types of Polymorphism 735
Ad hoc polymorphism 735
Subtyping 736
Chapter 123: Preprocessor directives 738
Syntax 738
Remarks 738
Conditional Expressions 738
Examples 739
Conditional Expressions 739
Generating Compiler Warnings and Errors 739
Defining and Undefining Symbols 740
Region Blocks 741
Other Compiler Instructions 741
Line 741
Pragma Checksum 741
Using the Conditional attribute 742
Disabling and Restoring Compiler Warnings 742
Custom Preprocessors at project level 743
Chapter 124: Properties 745
Remarks 745
Examples 745
Various Properties in Context 745

