描述
By: Steve Love
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 turn good code into great.
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 turn good code into great.
You may also like
熱銷中 Top Trending
Dragon Masters #27 (正版) Haunting of the Ghost Dragon (Branches) (Tracey West)
銷售價格HK$47.00
原價HK$69.00
有存貨
Treehouse, The (正版) Boxset / Bundle with QR code Audio (Andy Griffiths)
銷售價格從 HK$169.00
原價HK$673.00
有存貨
Percy Jackson and the Olympians: Wrath of the Triple Goddess International Edition
銷售價格HK$92.00
原價HK$140.00
有存貨
Warriors Series 2 The New Prophecy Collection (Paperback) (6 Books) (Erin Hunter)
銷售價格HK$349.00
原價HK$599.00
有存貨