Essential C# 8.0.
Book information
Description
Cover Half Title Title Page Copyright Page Contents at a Glance Contents Figures Tables Foreword Preface Acknowledgments About the Author 1 Introducing C# Hello, World C# Syntax Fundamentals Working with Variables Console Input and Output Managed Execution and the Common Language Infrastructure Multiple .NET Frameworks 2 Data Types Fundamental Numeric Types More Fundamental Types Conversions between Data Types 3 More with Data Types Categories of Types Declaring Types That Allow null Implicitly Typed Local Variables Tuples Arrays 4 Operators and Flow Control Operators Introducing Flow Control Code Blocks ({}) Code Blocks, Scopes, and Declaration Spaces Boolean Expressions Programming with null Bitwise Operators (, |, &, ^, ~) Control Flow Statements, Continued Jump Statements C# Preprocessor Directives Summary 5 Methods and Parameters Calling a Method Declaring a Method The using Directive Returns and Parameters on Main() Advanced Method Parameters Recursion Method Overloading Optional Parameters Basic Error Handling with Exceptions Summary 6 Classes Declaring and Instantiating a Class Instance Fields Instance Methods Using the this Keyword Access Modifiers Properties Constructors Non-Nullable Reference Type Properties with Constructors Nullable Attributes Deconstructors Static Members Extension Methods Encapsulating the Data Nested Classes Partial Classes Summary 7 Inheritance Derivation Overriding the Base Class Abstract Classes All Classes Derive from System.Object Pattern Matching with the is Operator Pattern Matching within a switch Expression Avoid Pattern Matching When Polymorphism Is Possible Summary 8 Interfaces Introducing Interfaces Polymorphism through Interfaces Interface Implementation Converting between the Implementing Class and Its Interfaces Interface Inheritance Multiple Interface Inheritance Extension Methods on Interfaces Versioning Extension Methods versus Default Interface Members Interfaces Compared with Abstract Classes Interfaces Compared with Attributes 9 Value Types Structs Boxing Enums Summary 10 Well-Formed Types Overriding object Members Operator Overloading Referencing Other Assemblies Encapsulation of Types Defining Namespaces XML Comments Garbage Collection Resource Cleanup Lazy Initialization Summary 11 Exception Handling Multiple Exception Types Catching Exceptions Rethrowing an Existing Exception General Catch Block Guidelines for Exception Handling Defining Custom Exceptions Rethrowing a Wrapped Exception Summary 12 Generics C# without Generics Introducing Generic Types Constraints Generic Methods Covariance and Contravariance Generic Internals Summary 13 Delegates and Lambda Expressions Introducing Delegates Declaring Delegate Types Lambda Expressions Statement Lambdas Anonymous Methods Delegates Do Not Have Structural Equality Outer Variables Expression Trees Summary 14 Events Coding the Publish–Subscribe Pattern with Multicast Delegates Understanding Events Summary 15 Collection Interfaces with Standard Query Operators Collection Initializers What Makes a Class a Collection: IEnumerable Standard Query Operators Anonymous Types with LINQ Summary 16 LINQ with Query Expressions Introducing Query Expressions Query Expressions Are Just Method Invocations Summary 17 Building Custom Collections More Collection Interfaces Primary Collection Classes Providing an Indexer Returning null or an Empty Collection Iterators Summary 18 Reflection, Attributes, and Dynamic Programming Reflection nameof Operator Attributes Programming with Dynamic Objects Summary 19 Introducing Multithreading Multithreading Basics Asynchronous Tasks Canceling a Task Working with System.Threading Summary 20 Programming the Task-Based Asynchronous Pattern Synchronously Invoking a High-Latency Operation Asynchronously Invoking a High-Latency Operation Using the TPL The Task-Based Asynchronous Pattern with async and await Introducing Asynchronous Return of ValueTask Asynchronous Streams IAsyncDisposable and the await using Declaration and Statement Using LINQ with IAsyncEnumerable Returning void from an Asynchronous Method Asynchronous Lambdas and Local Functions Task Schedulers and the Synchronization Context async/await with the Windows UI Summary 21 Iterating in Parallel Executing Loop Iterations in Parallel Running LINQ Queries in Parallel Summary 22 Thread Synchronization Why Synchronization? Timers Summary 23 Platform Interoperability and Unsafe Code Platform Invoke Pointers and Addresses Executing Unsafe Code via a Delegate Summary 24 The Common Language Infrastructure Defining the Common Language Infrastructure CLI Implementations .NET Standard Base Class Library C# Compilation to Machine Code Runtime Assemblies, Manifests, and Modules Common Intermediate Language Common Type System Common Language Specification Metadata .NET Native and Ahead of Time Compilation Summary Index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Index of 8.0 Topics A B C D I N P R S T U Index of 7.0 Topics A B C D I L N O P R S T U V Index of 6.0 Topics A C D E G N R S U V
Similar books
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF
The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians
1809 · PDF
Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix
2008 · PDF