Book description
When you have questions about C# 6.0 or the .NET CLR and its core Framework assemblies, this bestselling guide has the answers you need. C# has become a language of unusual flexibility and breadth since its premiere in 2000, but this continual growth means there’s still much more to learn. Organized around concepts and use cases, this thoroughly updated sixth edition provides intermediate and advanced programmers with a concise map of C# and .NET knowledge.
Table of contents
- Preface
- 1. Introducing C# and the .NET Framework
- 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 Types
- Operator Overloading
- Extension Methods
- Anonymous Types
- Dynamic Binding
- Attributes
- Caller Info Attributes (C# 5)
- Unsafe Code and Pointers
- Preprocessor Directives
- XML Documentation
-
5. Framework Overview
-
The CLR and Core Framework
- System Types
- Text Processing
- Collections
- Queries
- XML
- Diagnostics and Code Contracts
- Concurrency and Asynchrony
- Streams and I/O
- Networking
- Serialization
- Assemblies, Reflection, and Attributes
- Dynamic Programming
- Security
- Advanced Threading
- Parallel Programming
- Application Domains
- Native and COM Interoperability
- Applied Technologies
-
The CLR and Core Framework
- 6. Framework Fundamentals
- 7. Collections
- 8. LINQ Queries
- 9. LINQ Operators
- 10. LINQ to XML
- 11. Other XML Technologies
- 12. Disposal and Garbage Collection
-
13. Diagnostics and Code Contracts
- Conditional Compilation
- Debug and Trace Classes
- Code Contracts Overview
- Preconditions
- Postconditions
- Assertions and Object Invariants
- Contracts on Interfaces and Abstract Methods
- Dealing with Contract Failure
- Selectively Enforcing Contracts
- Static Contract Checking
- Debugger Integration
- Processes and Process Threads
- StackTrace and StackFrame
- Windows Event Logs
- Performance Counters
- The Stopwatch Class
- 14. Concurrency and Asynchrony
- 15. Streams and I/O
- 16. Networking
- 17. Serialization
-
18. Assemblies
- What’s in an Assembly
- Strong Names and Assembly Signing
- Assembly Names
- Authenticode Signing
- The Global Assembly Cache
- Resources and Satellite Assemblies
- Resolving and Loading Assemblies
- Deploying Assemblies Outside the Base Folder
- Packing a Single-File Executable
- Working with Unreferenced Assemblies
- 19. Reflection and Metadata
- 20. Dynamic Programming
- 21. Security
- 22. Advanced Threading
- 23. Parallel Programming
- 24. Application Domains
- 25. Interoperability
- 26. Regular Expressions
- 27. The Roslyn Compiler
- Index
Product information
- Title: C# 6.0 in a Nutshell, 6th Edition
- Author(s):
- Release date: November 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491927069
You might also like
book
2022 Cloud Salary Survey
Are you curious about how your job title, gender, state, age, or education impact your salary? …
book
Learning Test-Driven Development
Your code is a testament to your skills as a developer. No matter what language you …
book
Gamestorming
Great things don't happen in a vacuum. But creating an environment for creative thinking and innovation …
book
Quick Start Guide to Large Language Models: Strategies and Best Practices for using ChatGPT and Other LLMs
The advancement of Large Language Models (LLMs) has revolutionized the field of Natural Language Processing in …