The C# Type System
Harness the power of the C# type system to write programs that are clearer, simpler, and more efficient.

The type system is the foundation upon which all C# programs are built. The C# Type System will show you how todefine and implement value types effectively, and write more performant and robust code. Real-world code examplesand test cases throughout will elevate your programming with C# and show you how best to implement the principlesyou’re learning.

Among the core aspects of working with the type system, you’ll learn:

• How user-defined value types, and even simple types, can enhance your code’s readability
• How reference and value types differ within C#
• How method parameters and arguments relate to reference and value types
• How differences in copy semantics between value and reference types affect a program’s behavior
• How the different methods of value comparisons for equality work behind the scenes
• The unique characteristics and roles of various types in an application, especially how value types go beyond meredata storage
• Why inheritance isn’t optimal for value types
• How to measure and evaluate the performance of an app’s use of different data types

Whether you’re a novice or seasoned programmer, you’ll find The C# Type System indispensable in your efforts to turngood code into great.
"1143693741"
The C# Type System
Harness the power of the C# type system to write programs that are clearer, simpler, and more efficient.

The type system is the foundation upon which all C# programs are built. The C# Type System will show you how todefine and implement value types effectively, and write more performant and robust code. Real-world code examplesand test cases throughout will elevate your programming with C# and show you how best to implement the principlesyou’re learning.

Among the core aspects of working with the type system, you’ll learn:

• How user-defined value types, and even simple types, can enhance your code’s readability
• How reference and value types differ within C#
• How method parameters and arguments relate to reference and value types
• How differences in copy semantics between value and reference types affect a program’s behavior
• How the different methods of value comparisons for equality work behind the scenes
• The unique characteristics and roles of various types in an application, especially how value types go beyond meredata storage
• Why inheritance isn’t optimal for value types
• How to measure and evaluate the performance of an app’s use of different data types

Whether you’re a novice or seasoned programmer, you’ll find The C# Type System indispensable in your efforts to turngood code into great.
49.99 In Stock
The C# Type System

The C# Type System

by Steve Love
The C# Type System

The C# Type System

by Steve Love

Paperback

$49.99 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

Harness the power of the C# type system to write programs that are clearer, simpler, and more efficient.

The type system is the foundation upon which all C# programs are built. The C# Type System will show you how todefine and implement value types effectively, and write more performant and robust code. Real-world code examplesand test cases throughout will elevate your programming with C# and show you how best to implement the principlesyou’re learning.

Among the core aspects of working with the type system, you’ll learn:

• How user-defined value types, and even simple types, can enhance your code’s readability
• How reference and value types differ within C#
• How method parameters and arguments relate to reference and value types
• How differences in copy semantics between value and reference types affect a program’s behavior
• How the different methods of value comparisons for equality work behind the scenes
• The unique characteristics and roles of various types in an application, especially how value types go beyond meredata storage
• Why inheritance isn’t optimal for value types
• How to measure and evaluate the performance of an app’s use of different data types

Whether you’re a novice or seasoned programmer, you’ll find The C# Type System indispensable in your efforts to turngood code into great.

Product Details

ISBN-13: 9781718501584
Publisher: No Starch Press
Publication date: 10/31/2023
Pages: 344
Product dimensions: 7.00(w) x 9.20(h) x 0.84(d)

About the Author

Steve Love has been a professional C# developer for nearly 20 years, and has trained many other C# developers of varying levels of expertise. He writes for the ACCU magazines C Vu and Overload, and is a frequent speaker at conferences. This is the book he wishes he’d had early in his career.

Table of Contents

Introduction
Chapter 1: Making the Most of the Type System
Chapter 2: Value and Reference Types
Chapter 3: Reference and Value Parameters
Chapter 4: Implicit and Explicit Copying
Chapter 5: Types of Equality
Chapter 6: The Nature of Values
Chapter 7: Value Types and Polymorphism
Chapter 8: Performance and Efficiency
Afterword
Appendix: Further Reading
Index
From the B&N Reads Blog

Customer Reviews