Book description
When you have questions about C# 8.0 or .NET Core, this best-selling guide has the answers you need. C# is a language of unusual flexibility and breadth, but with its continual growth there’s so much more to learn. In the tradition of the O’Reilly Nutshell guides, this thoroughly updated edition is simply the best one-volume reference to the C# language available today.
Organized around concepts and use cases, C# 8.0 in a Nutshell provides intermediate and advanced programmers with a concise map of C# and .NET knowledge that also plumbs significant depths.
- Get up to speed on C#, from syntax and variables to advanced topics such as pointers, closures, and patterns
- Dig deep into LINQ with three chapters dedicated to the topic
- Explore concurrency and asynchrony, advanced threading, and parallel programming
- Work with .NET features, including regular expressions, networking, serialization, spans, reflection, and cryptography
- Delve into Roslyn, the modular C# compiler as a service
Publisher resources
Table of contents
- Preface
- 1. Introducing C# and .NET Core
- 2. C# Language Basics
-
3. Creating Types in C#
- Classes
- Inheritance
- The object Type
- Structs
- Access Modifiers
- Interfaces
- Enums
- Nested Types
-
Generics
- Generic Types
- Why Generics Exist
- Generic Methods
- Declaring Type Parameters
- typeof and Unbound Generic Types
- The default Generic Value
- Generic Constraints
- Subclassing Generic Types
- Self-Referencing Generic Declarations
- Static Data
- Type Parameters and Conversions
- Covariance
- Contravariance
- C# Generics Versus C++ Templates
-
4. Advanced C#
- Delegates
- Events
- Lambda Expressions
- Anonymous Methods
- try Statements and Exceptions
- Enumeration and Iterators
- Nullable Value Types
- Nullable Reference Types (C# 8)
- Extension Methods
- Anonymous Types
- Tuples
- Patterns
- Attributes
- Caller Info Attributes
- Dynamic Binding
- Operator Overloading
- Unsafe Code and Pointers
- Preprocessor Directives
- XML Documentation
-
5. Framework Overview
- .NET Standard
- Framework and C# Language Versions
- Reference Assemblies
-
The CLR and BCL
- System Types
- Text Processing
- Collections
- Querying
- XML and JSON
- Diagnostics
- Concurrency and Asynchrony
- Streams and I/O
- Networking
- Serialization
- Assemblies, Reflection, and Attributes
- Dynamic Programming
- Cryptography
- Advanced Threading
- Parallel Programming
- Span<T> and Memory<T>
- Native and COM Interoperability
- Regular Expressions
- The Roslyn Compiler
- Application Frameworks
- 6. Framework Fundamentals
- 7. Collections
- 8. LINQ Queries
- 9. LINQ Operators
- 10. LINQ to XML
- 11. Other XML and JSON Technologies
- 12. Disposal and Garbage Collection
- 13. Diagnostics
- 14. Concurrency and Asynchrony
- 15. Streams and I/O
- 16. Networking
- 17. Serialization
- 18. Assemblies
- 19. Reflection and Metadata
- 20. Dynamic Programming
- 21. Cryptography
- 22. Advanced Threading
- 23. Parallel Programming
- 24. Span<T> and Memory<T>
- 25. Native and COM Interoperability
- 26. Regular Expressions
- 27. The Roslyn Compiler
- Index
Product information
- Title: C# 8.0 in a Nutshell
- Author(s):
- Release date: May 2020
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492051138
You might also like
book
C# 10 in a Nutshell
When you have questions about C# 10 or .NET 6, this best-selling guide has the answers …
book
C# 12 in a Nutshell
When you have questions about C# 12 or .NET 8, this best-selling guide has the answers …
book
C# 9.0 in a Nutshell
When you have questions about C# 9.0 or .NET 5, this best-selling guide has the answers …
book
Programming C# 8.0
C# is undeniably one of the most versatile programming languages available to engineers today. With this …